From 2b7e74861c1bd8ae48d005dc11baedd03b0f6822 Mon Sep 17 00:00:00 2001 From: garyo Date: Tue, 6 Jan 2009 12:32:14 +0000 Subject: [PATCH] Add -e$TARGET to Borland linker command line, to fix issue #1166. git-svn-id: http://scons.tigris.org/svn/scons/trunk@3874 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- src/engine/SCons/Tool/ilink32.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/SCons/Tool/ilink32.py b/src/engine/SCons/Tool/ilink32.py index 758310ea..d6ddc9d5 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']='' -- 2.26.2