From 69c0c2d05fac41fe05d8a3881de615e061acd079 Mon Sep 17 00:00:00 2001 From: garyo Date: Fri, 15 Aug 2008 03:00:51 +0000 Subject: [PATCH] Fix bug #2163, Tool/ilink32 (Borland linker) needs shared lib builder. Not tested since I have no Borland, but all current tests pass. git-svn-id: http://scons.tigris.org/svn/scons/trunk@3279 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- src/engine/SCons/Tool/ilink32.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/engine/SCons/Tool/ilink32.py b/src/engine/SCons/Tool/ilink32.py index a667b757..758310ea 100644 --- a/src/engine/SCons/Tool/ilink32.py +++ b/src/engine/SCons/Tool/ilink32.py @@ -36,6 +36,7 @@ import SCons.Util def generate(env): """Add Builders and construction variables for ilink to an Environment.""" + SCons.Tool.createSharedLibBuilder(env) SCons.Tool.createProgBuilder(env) env['LINK'] = '$CC' @@ -46,6 +47,7 @@ def generate(env): env['LIBLINKPREFIX']='' env['LIBLINKSUFFIX']='$LIBSUFFIX' + def exists(env): # Uses bcc32 to do linking as it generally knows where the standard # LIBS are and set up the linking correctly -- 2.26.2