diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2014-09-15 14:37:58 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2014-11-07 18:54:31 +0100 |
commit | a5ba1db600b01dac9e04c1020ed4b40b79a542d5 (patch) | |
tree | c272af4aab2ef0d833ff5e74f82fe2a2f4e66fe6 | |
parent | a5c850e9049db3ad0f76825c6d156dee8d9edcff (diff) |
ios: Fix setting of the major/minor version for the emulator
7.1 is 70100, not 710000.
-rw-r--r-- | config/ios.config | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/ios.config b/config/ios.config index cb77b943..d90918a3 100644 --- a/config/ios.config +++ b/config/ios.config @@ -65,7 +65,8 @@ elif target_arch == Architecture.ARM: elif target_arch == Architecture.X86: arch_cflags = ' -arch i386 ' host = 'i386-apple-darwin10' - extra_cflags='-D__IPHONE_OS_VERSION_MIN_REQUIRED=%s0000' % min_version.replace('.', '') + (major, minor) = min_version.split('.') + extra_cflags='-D__IPHONE_OS_VERSION_MIN_REQUIRED=%s0%s00' % (major, minor) elif target_arch == Architecture.UNIVERSAL: arch_cflags='' else: |