ref: e11ce4892883d5ab92c4e1cf45af8795d7d0b655
parent: 482fab8971fb42305186494c1aad8f7c388c6b0f
author: Paul Brossier <piem@piem.org>
date: Sat Aug 1 07:03:42 EDT 2015
wscript: remove iOS sdk versioning
--- a/wscript
+++ b/wscript
@@ -117,13 +117,12 @@
if target_platform in [ 'ios', 'iosimulator' ]:
ctx.define('TARGET_OS_IPHONE', 1)
- SDKVER="7.1"
MINSDKVER="6.1"
ctx.env.CFLAGS += ['-std=c99']
if target_platform == 'ios':
DEVROOT = "/Applications/Xcode.app/Contents"
DEVROOT += "/Developer/Platforms/iPhoneOS.platform/Developer"
- SDKROOT = "%(DEVROOT)s/SDKs/iPhoneOS%(SDKVER)s.sdk" % locals()
+ SDKROOT = "%(DEVROOT)s/SDKs/iPhoneOS.sdk" % locals()
#ctx.env.CFLAGS += [ '-arch', 'arm64' ]
ctx.env.CFLAGS += [ '-arch', 'armv7' ]
ctx.env.CFLAGS += [ '-arch', 'armv7s' ]
@@ -135,7 +134,7 @@
else:
DEVROOT = "/Applications/Xcode.app/Contents"
DEVROOT += "/Developer/Platforms/iPhoneSimulator.platform/Developer"
- SDKROOT = "%(DEVROOT)s/SDKs/iPhoneSimulator%(SDKVER)s.sdk" % locals()
+ SDKROOT = "%(DEVROOT)s/SDKs/iPhoneSimulator.sdk" % locals()
ctx.env.CFLAGS += [ '-arch', 'i386' ]
ctx.env.CFLAGS += [ '-arch', 'x86_64' ]
ctx.env.LINKFLAGS += ['-arch', 'i386']