diff options
author | Steven Knight <knight@baldmt.com> | 2009-02-11 17:48:32 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2009-02-11 17:48:32 (GMT) |
commit | 33b254500d0cb179b4446537482905748ff32cf9 (patch) | |
tree | 44efaf0dbfe6fc5d9eb62ddd099e6d087c8fae29 /src/engine/SCons/Tool/linkloc.py | |
parent | 30975b029263b942e75bfbdb38b437c283cad2ba (diff) | |
download | SCons-33b254500d0cb179b4446537482905748ff32cf9.zip SCons-33b254500d0cb179b4446537482905748ff32cf9.tar.gz SCons-33b254500d0cb179b4446537482905748ff32cf9.tar.bz2 |
Remove unnecessary nested $( $) around $_LIBDIRFLAGS from $LINKCOM
definitions that still have them. This will cause relinks upon
upgrade when using the Microsoft, OS/2 or Phar Lap linkers.
Diffstat (limited to 'src/engine/SCons/Tool/linkloc.py')
-rw-r--r-- | src/engine/SCons/Tool/linkloc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/SCons/Tool/linkloc.py b/src/engine/SCons/Tool/linkloc.py index 6b9be12..43eb953 100644 --- a/src/engine/SCons/Tool/linkloc.py +++ b/src/engine/SCons/Tool/linkloc.py @@ -84,11 +84,11 @@ def generate(env): env['SUBST_CMD_FILE'] = LinklocGenerator env['SHLINK'] = '$LINK' env['SHLINKFLAGS'] = SCons.Util.CLVar('$LINKFLAGS') - env['SHLINKCOM'] = '${SUBST_CMD_FILE("$SHLINK $SHLINKFLAGS $( $_LIBDIRFLAGS $) $_LIBFLAGS -dll $TARGET $SOURCES")}' + env['SHLINKCOM'] = '${SUBST_CMD_FILE("$SHLINK $SHLINKFLAGS $_LIBDIRFLAGS $_LIBFLAGS -dll $TARGET $SOURCES")}' env['SHLIBEMITTER']= None env['LINK'] = "linkloc" env['LINKFLAGS'] = SCons.Util.CLVar('') - env['LINKCOM'] = '${SUBST_CMD_FILE("$LINK $LINKFLAGS $( $_LIBDIRFLAGS $) $_LIBFLAGS -exe $TARGET $SOURCES")}' + env['LINKCOM'] = '${SUBST_CMD_FILE("$LINK $LINKFLAGS $_LIBDIRFLAGS $_LIBFLAGS -exe $TARGET $SOURCES")}' env['LIBDIRPREFIX']='-libpath ' env['LIBDIRSUFFIX']='' env['LIBLINKPREFIX']='-lib ' |