diff options
author | Steven Knight <knight@baldmt.com> | 2004-06-14 12:59:21 +0000 |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2004-06-14 12:59:21 +0000 |
commit | a0d7c6333aeb9b6f2848ea3c90662f91f7f8ac0e (patch) | |
tree | 006fcd23761e031e5a59922224b1364edbffdcf5 /src/engine/SCons/Tool/mslink.py | |
parent | f0eef8baab59eaf981656f5507f17c83ee096a0a (diff) | |
download | scons-a0d7c6333aeb9b6f2848ea3c90662f91f7f8ac0e.tar.gz |
Change PDB file generation from compile time to link time. (Anthony Roach)
Diffstat (limited to 'src/engine/SCons/Tool/mslink.py')
-rw-r--r-- | src/engine/SCons/Tool/mslink.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/engine/SCons/Tool/mslink.py b/src/engine/SCons/Tool/mslink.py index 53476061..c44e62b6 100644 --- a/src/engine/SCons/Tool/mslink.py +++ b/src/engine/SCons/Tool/mslink.py @@ -91,8 +91,7 @@ def win32LibEmitter(target, source, env): "WIN32DEFPREFIX", "WIN32DEFSUFFIX")) if env.has_key('PDB') and env['PDB']: - env.SideEffect(env['PDB'], target) - env.Precious(env['PDB']) + target.append(env['PDB']) if not no_import_lib and \ not env.FindIxes(target, "LIBPREFIX", "LIBSUFFIX"): @@ -111,8 +110,7 @@ def prog_emitter(target, source, env): SCons.Tool.msvc.validate_vars(env) if env.has_key('PDB') and env['PDB']: - env.SideEffect(env['PDB'], target) - env.Precious(env['PDB']) + target.append(env['PDB']) return (target,source) |