summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Tool/hplink.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2004-02-26 05:56:51 (GMT)
committerSteven Knight <knight@baldmt.com>2004-02-26 05:56:51 (GMT)
commitdfa9ded59f8641221328e2da7a06698a1b367ef1 (patch)
treecc4a700d072dff78736d245d7c664be7ad2d32f0 /src/engine/SCons/Tool/hplink.py
parentb0656def14f9b2f7feff88301420c1dee99ac670 (diff)
downloadSCons-dfa9ded59f8641221328e2da7a06698a1b367ef1.zip
SCons-dfa9ded59f8641221328e2da7a06698a1b367ef1.tar.gz
SCons-dfa9ded59f8641221328e2da7a06698a1b367ef1.tar.bz2
Initialize *FLAGS variables with objects that can add flags either as strings or lists.
Diffstat (limited to 'src/engine/SCons/Tool/hplink.py')
-rw-r--r--src/engine/SCons/Tool/hplink.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/engine/SCons/Tool/hplink.py b/src/engine/SCons/Tool/hplink.py
index 2c7b55c..f3d03c9 100644
--- a/src/engine/SCons/Tool/hplink.py
+++ b/src/engine/SCons/Tool/hplink.py
@@ -35,6 +35,8 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
import os.path
+import SCons.Util
+
import link
ccLinker = None
@@ -59,8 +61,8 @@ def generate(env):
"""
link.generate(env)
- env['LINKFLAGS'] = '-Wl,+s -Wl,+vnocompatwarnings'
- env['SHLINKFLAGS'] = '$LINKFLAGS -b'
+ env['LINKFLAGS'] = SCons.Util.CLVar('-Wl,+s -Wl,+vnocompatwarnings')
+ env['SHLINKFLAGS'] = SCons.Util.CLVar('$LINKFLAGS -b')
env['SHLIBSUFFIX'] = '.sl'
def exists(env):