summaryrefslogtreecommitdiff
path: root/xmake/scripts/platform/macosx/prober.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/scripts/platform/macosx/prober.lua')
-rw-r--r--xmake/scripts/platform/macosx/prober.lua24
1 files changed, 12 insertions, 12 deletions
diff --git a/xmake/scripts/platform/macosx/prober.lua b/xmake/scripts/platform/macosx/prober.lua
index 0e126f38c..d2c397edc 100644
--- a/xmake/scripts/platform/macosx/prober.lua
+++ b/xmake/scripts/platform/macosx/prober.lua
@@ -246,24 +246,24 @@ end
function prober.config()
-- call all probe functions
- utils.call( { prober._probe_arch
- , prober._probe_xcode
- , prober._probe_xcode_sdkver
- , prober._probe_make
- , prober._probe_ccache
- , prober._probe_toolchains}
- , nil
- , config)
+ return utils.call( { prober._probe_arch
+ , prober._probe_xcode
+ , prober._probe_xcode_sdkver
+ , 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_xcode
- , prober._probe_ccache}
- , nil
- , global)
+ return utils.call( { prober._probe_xcode
+ , prober._probe_ccache}
+ , nil
+ , global)
end
-- return module: prober