summaryrefslogtreecommitdiff
path: root/xmake/scripts/platform/iphonesimulator
diff options
context:
space:
mode:
authorruki <[email protected]>2015-06-03 11:56:22 +0800
committerruki <[email protected]>2015-06-03 11:56:22 +0800
commit8f5a561006bb5b0952278075deb908633317c987 (patch)
tree4a57ebf7283fd7c47b88f7c7c0aac4caa67cb607 /xmake/scripts/platform/iphonesimulator
parent648d0f6875478a5184668996f3948a0e61e862a0 (diff)
clean the cached configure
Diffstat (limited to 'xmake/scripts/platform/iphonesimulator')
-rw-r--r--xmake/scripts/platform/iphonesimulator/_prober.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/scripts/platform/iphonesimulator/_prober.lua b/xmake/scripts/platform/iphonesimulator/_prober.lua
index 9e7c85202..eeb485b86 100644
--- a/xmake/scripts/platform/iphonesimulator/_prober.lua
+++ b/xmake/scripts/platform/iphonesimulator/_prober.lua
@@ -126,7 +126,7 @@ function _prober._probe_xcode_sdkver(configs)
end
-- probe the configure
-function _prober.done(configs)
+function _prober.done(configs, is_global)
-- probe the architecture
if not _prober._probe_arch(configs) then return end
@@ -135,7 +135,7 @@ function _prober.done(configs)
if not _prober._probe_xcode(configs) then return end
-- probe the xcode sdk version
- if not _prober._probe_xcode_sdkver(configs) then return end
+ if not is_global and not _prober._probe_xcode_sdkver(configs) then return end
end