From e11ce4892883d5ab92c4e1cf45af8795d7d0b655 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sat, 1 Aug 2015 11:03:42 +0200 Subject: [PATCH] wscript: remove iOS sdk versioning --- wscript | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/wscript b/wscript index f2dd4539..bc1d8654 100644 --- a/wscript +++ b/wscript @@ -117,13 +117,12 @@ def configure(ctx): 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 @@ def configure(ctx): 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'] -- 2.11.0