Hello,
I wrote a patch, to get blender building on Lion with scons.
The file now detects wether the builder builds on Lion. If so, the SystemStubs Library won't be linked with blender, because she doesn't exist on Lion anymore.
This patch is only for scons building, not for cmake.
Description
Event Timeline
Hi
Had now time to test compile with 10.7SDK and you are right.
Although i made config atm to use 10.5 sdk if possible ( compatibility ) else 10.6 sdk the patch would be needed if
a user wants 10.7 sdk.
I guess i will include this soon. Thx for patch.
Jens
Commited:
Index: build_files/scons/config/darwin-config.py
===================================================================
--- build_files/scons/config/darwin-config.py (revision 39688)
+++ build_files/scons/config/darwin-config.py (working copy)
@@ -316,7 +316,11 @@
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':
Jens