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-09-28 15:56:50 +0400
committerJens Verwiebe <info@jensverwiebe.de>2011-09-28 15:56:50 +0400
commitd0e7be242bae4abebbda1e7e183b4a5c4f9f9e1d (patch)
tree046dbb991c7ff8481cfe3d784470926e537d5b14 /SConstruct
parentc8b0d25794be3dc98375fb4042746bd31a4ba961 (diff)
OSX: solve weaklinking for non-apple compilers by using Xlinker, build also QTKit with apple gcc, to be more compatible to distributed gnu-gcc compilers without objC, objC++ capabilities
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index 42ee3342031..6de11d8fe4e 100644
--- a/SConstruct
+++ b/SConstruct
@@ -277,7 +277,7 @@ if env['OURPLATFORM']=='darwin':
print "3D_CONNEXION_CLIENT_LIBRARY not found, disabling WITH_BF_3DMOUSE" # avoid build errors !
env['WITH_BF_3DMOUSE'] = 0
else:
- env.Append(LINKFLAGS=['-weak_framework','3DconnexionClient'])
+ env.Append(LINKFLAGS=['-Xlinker','-weak_framework','-Xlinker','3DconnexionClient'])
if env['WITH_BF_OPENMP'] == 1:
if env['OURPLATFORM'] in ('win32-vc', 'win64-vc'):