diff options
author | Gary Oberbrunner <garyo@oberbrunner.com> | 2009-01-06 12:32:14 (GMT) |
---|---|---|
committer | Gary Oberbrunner <garyo@oberbrunner.com> | 2009-01-06 12:32:14 (GMT) |
commit | 31c2d1a9ae7678fa8b235ec942df88ad35548ef3 (patch) | |
tree | ae8def38e2c10f75fb8993020f4fbd7787dc266f | |
parent | c72683e53169e438837955dfcfcc3a21cf988d64 (diff) | |
download | SCons-31c2d1a9ae7678fa8b235ec942df88ad35548ef3.zip SCons-31c2d1a9ae7678fa8b235ec942df88ad35548ef3.tar.gz SCons-31c2d1a9ae7678fa8b235ec942df88ad35548ef3.tar.bz2 |
Add -e$TARGET to Borland linker command line, to fix issue #1166.
-rw-r--r-- | src/engine/SCons/Tool/ilink32.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/SCons/Tool/ilink32.py b/src/engine/SCons/Tool/ilink32.py index 758310e..d6ddc9d 100644 --- a/src/engine/SCons/Tool/ilink32.py +++ b/src/engine/SCons/Tool/ilink32.py @@ -34,14 +34,14 @@ import SCons.Tool.bcc32 import SCons.Util def generate(env): - """Add Builders and construction variables for ilink to an + """Add Builders and construction variables for Borland ilink to an Environment.""" SCons.Tool.createSharedLibBuilder(env) SCons.Tool.createProgBuilder(env) env['LINK'] = '$CC' env['LINKFLAGS'] = SCons.Util.CLVar('') - env['LINKCOM'] = '$LINK -q $LINKFLAGS $SOURCES $LIBS' + env['LINKCOM'] = '$LINK -q $LINKFLAGS -e$TARGET $SOURCES $LIBS' env['LIBDIRPREFIX']='' env['LIBDIRSUFFIX']='' env['LIBLINKPREFIX']='' |