summaryrefslogtreecommitdiff
path: root/xmake/scripts/platform/linux
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/scripts/platform/linux')
-rw-r--r--xmake/scripts/platform/linux/prober.lua20
1 files changed, 10 insertions, 10 deletions
diff --git a/xmake/scripts/platform/linux/prober.lua b/xmake/scripts/platform/linux/prober.lua
index ce23dadb5..5e5eec9b1 100644
--- a/xmake/scripts/platform/linux/prober.lua
+++ b/xmake/scripts/platform/linux/prober.lua
@@ -155,22 +155,22 @@ end
function prober.config()
-- call all probe functions
- utils.call( { prober._probe_arch
- , prober._probe_make
- , prober._probe_ccache
- , prober._probe_toolchains}
- , nil
- , config)
+ return utils.call( { prober._probe_arch
+ , prober._probe_make
+ , prober._probe_ccache
+ , prober._probe_toolchains}
+ , nil
+ , config)
end
-- probe the global configure
function prober.global()
-- call all probe functions
- utils.call( { prober._probe_make
- , prober._probe_ccache}
- , nil
- , global)
+ return utils.call( { prober._probe_make
+ , prober._probe_ccache}
+ , nil
+ , global)
end
-- return module: prober