diff options
-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: |