From 90715580b93d633aa01e1c0e12b057301658cc59 Mon Sep 17 00:00:00 2001 From: Kent Mein Date: Thu, 6 Dec 2007 21:41:22 +0000 Subject: 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 --- tools/Blender.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools') diff --git a/tools/Blender.py b/tools/Blender.py index 58f5ea7b661..77262d6eaaf 100644 --- a/tools/Blender.py +++ b/tools/Blender.py @@ -430,6 +430,8 @@ class BlenderEnvironment(SConsEnvironment): 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']) -- cgit v1.2.3