diff options
author | Steven Knight <knight@baldmt.com> | 2005-02-14 16:08:52 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2005-02-14 16:08:52 (GMT) |
commit | dfb8a0403fd657fb97afe7ea079fc67e19a22f96 (patch) | |
tree | 62360857faec15f012268388a7b5f4b1e993e48f /src | |
parent | 90db66e40e5121d66a62616ad0498c7fe5c13dfc (diff) | |
download | SCons-dfb8a0403fd657fb97afe7ea079fc67e19a22f96.zip SCons-dfb8a0403fd657fb97afe7ea079fc67e19a22f96.tar.gz SCons-dfb8a0403fd657fb97afe7ea079fc67e19a22f96.tar.bz2 |
Win32 portability.
Diffstat (limited to 'src')
-rw-r--r-- | src/engine/SCons/Tool/mslink.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/engine/SCons/Tool/mslink.py b/src/engine/SCons/Tool/mslink.py index 559a679..e05530e 100644 --- a/src/engine/SCons/Tool/mslink.py +++ b/src/engine/SCons/Tool/mslink.py @@ -186,7 +186,11 @@ def generate(env): env['LDMODULEPREFIX'] = '$SHLIBPREFIX' env['LDMODULESUFFIX'] = '$SHLIBSUFFIX' env['LDMODULEFLAGS'] = '$SHLINKFLAGS' - env['LDMODULECOM'] = '$SHLINKCOM' + # We can't use '$SHLINKCOM' here because that will stringify the + # action list on expansion, and will then try to execute expanded + # strings, with the upshot that it would try to execute RegServerFunc + # as a command. + env['LDMODULECOM'] = compositeLinkAction def exists(env): if SCons.Tool.msvs.is_msvs_installed(): |