diff options
Diffstat (limited to 'platform/iphone/detect.py')
-rw-r--r-- | platform/iphone/detect.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/iphone/detect.py b/platform/iphone/detect.py index ee0e36b926..20fb4428dd 100644 --- a/platform/iphone/detect.py +++ b/platform/iphone/detect.py @@ -76,6 +76,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}' |