OSX / Scons : set MACOSX_DEPLOYMENT_TARGET env var to allow builds for older systems
authorDamien Plisson <damien.plisson@yahoo.fr>
Wed, 23 Dec 2009 15:56:00 +0000 (15:56 +0000)
committerDamien Plisson <damien.plisson@yahoo.fr>
Wed, 23 Dec 2009 15:56:00 +0000 (15:56 +0000)
config/darwin-config.py

index 049fe62f3b0390a6a48eaff2863ba73c9a7000ae..a2ce9c3331ab5dcca6e58f35ddfcf5ca4dbaf380 100644 (file)
@@ -47,18 +47,21 @@ if MACOSX_ARCHITECTURE == 'ppc':
 #      CC = 'gcc-3.3'
 #      CXX = 'g++-3.3'
        MAC_MIN_VERS = '10.4'
+       MACOSX_DEPLOYMENT_TARGET = '10.4'
        MACOSX_SDK='/Developer/SDKs/MacOSX10.4u.sdk'
        LCGDIR = '#../lib/darwin-8.0.0-powerpc'
        CC = 'gcc-4.0'
        CXX = 'g++-4.0'
 elif MACOSX_ARCHITECTURE == 'i386':
        MAC_MIN_VERS = '10.4'
+       MACOSX_DEPLOYMENT_TARGET = '10.4'
        MACOSX_SDK='/Developer/SDKs/MacOSX10.4u.sdk'
        LCGDIR = '#../lib/darwin-8.x.i386'
        CC = 'gcc-4.0'
        CXX = 'g++-4.0'
 else :
        MAC_MIN_VERS = '10.5'
+       MACOSX_DEPLOYMENT_TARGET = '10.5'
        MACOSX_SDK='/Developer/SDKs/MacOSX10.5.sdk'
        LCGDIR = '#../lib/darwin-9.x.universal'
        CC = 'gcc-4.2'