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>2012-02-17 14:44:21 +0400
committerJens Verwiebe <info@jensverwiebe.de>2012-02-17 14:44:21 +0400
commitc9d8af6cff44aad40d224d59430307d6cbc807b0 (patch)
treef462890bfd16aeb1181ba1ca1747ead79ec3939e /build_files
parented3b7e2c23ca50eb67e63caec0c88197f59b2573 (diff)
OSX: since XCode 4.3 the developer directory is inside XCode.app bundle, so we handle path according XCODE_VERSION now
Diffstat (limited to 'build_files')
-rw-r--r--build_files/scons/config/darwin-config.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/build_files/scons/config/darwin-config.py b/build_files/scons/config/darwin-config.py
index 8082c1e6986..17882342a86 100644
--- a/build_files/scons/config/darwin-config.py
+++ b/build_files/scons/config/darwin-config.py
@@ -86,6 +86,9 @@ else :
LIBDIR = '${LCGDIR}'
+if XCODE_CUR_VER >= '4.3': ## since version 4.3, XCode and developer dir are bundled ##
+ MACOSX_SDK = '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform' + MACOSX_SDK
+
#############################################################################
################### Dependency settings ##################
#############################################################################