[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [12811] trunk/blender/tools/Blender.py: This is patch: [#7129] Solaris build is linking with c instead of c++ compiler
Kent Mein
mein at cs.umn.edu
Thu Dec 6 22:41:22 CET 2007
Revision: 12811
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=12811
Author: sirdude
Date: 2007-12-06 22:41:22 +0100 (Thu, 06 Dec 2007)
Log Message:
-----------
This is patch: [#7129] Solaris build is linking with c instead of c++ compiler
I talked to Jesterking and he may switch this to a more global
solution later. I figured in the meantime its ok to commit this
and consider the issue resolved.
Kent
Modified Paths:
--------------
trunk/blender/tools/Blender.py
Modified: trunk/blender/tools/Blender.py
===================================================================
--- trunk/blender/tools/Blender.py 2007-12-06 20:15:03 UTC (rev 12810)
+++ trunk/blender/tools/Blender.py 2007-12-06 21:41:22 UTC (rev 12811)
@@ -430,6 +430,8 @@
if lenv['OURPLATFORM']=='sunos5':
lenv.Append(LINKFLAGS = lenv['PLATFORM_LINKFLAGS'])
lenv.Append(LINKFLAGS = lenv['BF_PYTHON_LINKFLAGS'])
+ if lenv['CXX'].endswith('CC'):
+ lenv.Replace(LINK = '$CXX')
if lenv['OURPLATFORM']=='darwin':
lenv.Append(LINKFLAGS = lenv['PLATFORM_LINKFLAGS'])
lenv.Append(LINKFLAGS = lenv['BF_PYTHON_LINKFLAGS'])
More information about the Bf-blender-cvs
mailing list