summaryrefslogtreecommitdiff
path: root/xmake/scripts/platform/iphoneos/prober.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2015-06-30 10:45:41 +0800
committerruki <[email protected]>2015-06-30 10:45:41 +0800
commita9da9dee9f83abfe04ffbbd865156494c135161e (patch)
tree69b4ef596e9a4e815635e1ea77cd8a90aa215f17 /xmake/scripts/platform/iphoneos/prober.lua
parentac86a19928d72a69a1ddd4802479393c717352e4 (diff)
make universal target for iphoneos
Diffstat (limited to 'xmake/scripts/platform/iphoneos/prober.lua')
-rw-r--r--xmake/scripts/platform/iphoneos/prober.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/scripts/platform/iphoneos/prober.lua b/xmake/scripts/platform/iphoneos/prober.lua
index 3de0965de..2c2892315 100644
--- a/xmake/scripts/platform/iphoneos/prober.lua
+++ b/xmake/scripts/platform/iphoneos/prober.lua
@@ -239,6 +239,7 @@ function prober._probe_toolchains(configs)
if not prober._probe_toolpath(configs, "ld", "xcrun -sdk iphoneos ", "clang++", "the linker") then return false end
if not prober._probe_toolpath(configs, "ar", "xcrun -sdk iphoneos ", "ar", "the static library linker") then return false end
if not prober._probe_toolpath(configs, "sh", "xcrun -sdk iphoneos ", "clang++", "the shared library linker") then return false end
+ if not prober._probe_toolpath(configs, "lipo", "xcrun -sdk iphoneos ", "lipo", "the universal files creater") then return false end
return true
end