Use LD consturction variable in CombinedObject builder
g0dil [Tue, 5 Oct 2010 15:00:51 +0000 (15:00 +0000)]
git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1726 270642c3-0616-0410-b53a-bc976706d245

site_scons/site_tools/CombinedObject.py

index 9926452..999da10 100644 (file)
@@ -9,7 +9,10 @@ def generate(env):
 
     env['BUILDERS']['CombinedObject'] = builder
 
-    env.SetDefault(LDCOMBINECOM = 'ld -r -o')
+    env.SetDefault(
+        LD = 'ld',
+        LDCOMBINECOM = '$LD -r -o',
+        )
 
 def exists(env):
     return True