Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Verwiebe <info@jensverwiebe.de>2011-08-25 13:41:36 +0400
committerJens Verwiebe <info@jensverwiebe.de>2011-08-25 13:41:36 +0400
commit3b1192431faf031bf55b362934fb0b6a52ea65e4 (patch)
tree1ce24aba59718994e32e209c71bf8432fcf8d425
parent44f7a8aee2dcd664717b58f8e1265f832d67062d (diff)
OSX/scons: donĀ“t link to system stubs with 10.7 sdk
-rw-r--r--build_files/scons/config/darwin-config.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/build_files/scons/config/darwin-config.py b/build_files/scons/config/darwin-config.py
index ec6a3b082b8..06abaf468dd 100644
--- a/build_files/scons/config/darwin-config.py
+++ b/build_files/scons/config/darwin-config.py
@@ -316,7 +316,11 @@ if WITH_BF_QUICKTIME:
PLATFORM_LINKFLAGS = PLATFORM_LINKFLAGS+['-framework','QuickTime']
#note to build succesfully on 10.3.9 SDK you need to patch 10.3.9 by adding the SystemStubs.a lib from 10.4
-LLIBS = ['stdc++', 'SystemStubs']
+#for 10.7.sdk, SystemStubs needs to be excluded (lib doesn't exist anymore)
+if MACOSX_DEPLOYMENT_TARGET == '10.7':
+ LLIBS = ['stdc++']
+else:
+ LLIBS = ['stdc++', 'SystemStubs']
# some flags shuffling for different OS versions
if MAC_MIN_VERS == '10.3':