ref: da1709fc50667de93b2e110c91699547686fbc0b
parent: 69212a01cb9b7e99ebdfee7dc96ec84abde16e76
author: Paul Brossier <piem@piem.org>
date: Thu Apr 21 22:06:08 EDT 2016
wscript: added -mmacosx-version-min=10.4 on darwin
--- a/wscript
+++ b/wscript
@@ -121,6 +121,9 @@
if target_platform == 'darwin' and ctx.options.enable_fat:
ctx.env.CFLAGS += ['-arch', 'i386', '-arch', 'x86_64']
ctx.env.LINKFLAGS += ['-arch', 'i386', '-arch', 'x86_64']
+ MINSDKVER="10.4"
+ ctx.env.CFLAGS += [ '-mmacosx-version-min=' + MINSDKVER ]
+ ctx.env.LINKFLAGS += [ '-mmacosx-version-min=' + MINSDKVER ]
if target_platform in [ 'darwin', 'ios', 'iosimulator']:
if (ctx.options.enable_apple_audio != False):