Skip to content

Commit

Permalink
OSX/scons: don´t link to system stubs with 10.7 sdk
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@39689 954f8c5b-7b00-dc11-b283-0030488c597c
  • Loading branch information
jensverwiebe committed Aug 25, 2011
1 parent b8a94fd commit 9c74d02
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion blender/build_files/scons/config/darwin-config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand Down

0 comments on commit 9c74d02

Please sign in to comment.