summaryrefslogtreecommitdiffstats
path: root/platform/iphone/detect.py
diff options
context:
space:
mode:
Diffstat (limited to 'platform/iphone/detect.py')
-rw-r--r--platform/iphone/detect.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/iphone/detect.py b/platform/iphone/detect.py
index 4608770c09..3ce8dba716 100644
--- a/platform/iphone/detect.py
+++ b/platform/iphone/detect.py
@@ -80,6 +80,10 @@ def configure(env):
## Compiler configuration
+ # Save this in environment for use by other modules
+ if "OSXCROSS_IOS" in os.environ:
+ env["osxcross"] = True
+
env['ENV']['PATH'] = env['IPHONEPATH'] + "/Developer/usr/bin/:" + env['ENV']['PATH']
compiler_path = '$IPHONEPATH/usr/bin/${ios_triple}'