From 6b8217ec130016dd930eb138188b78ad02c3b5c6 Mon Sep 17 00:00:00 2001 From: stevenknight Date: Fri, 2 Apr 2004 06:21:42 +0000 Subject: [PATCH] Fix a bug with creation of shared libraries under MinGW. (Simon Perkins) git-svn-id: http://scons.tigris.org/svn/scons/trunk@941 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- src/CHANGES.txt | 4 ++++ src/engine/SCons/Tool/mingw.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/CHANGES.txt b/src/CHANGES.txt index b546b794..24761404 100644 --- a/src/CHANGES.txt +++ b/src/CHANGES.txt @@ -57,6 +57,10 @@ RELEASE 0.96 - XXX - Add a --debug=presub option to print actions prior to substitution. + From Simon Perkins: + + - Fix a bug introduced in building shared libraries under MinGW. + RELEASE 0.95 - Mon, 08 Mar 2004 06:43:20 -0600 diff --git a/src/engine/SCons/Tool/mingw.py b/src/engine/SCons/Tool/mingw.py index ac4d969b..18fa79ec 100644 --- a/src/engine/SCons/Tool/mingw.py +++ b/src/engine/SCons/Tool/mingw.py @@ -48,7 +48,7 @@ def find(env): return env.WhereIs(key_program) or SCons.Util.WhereIs(key_program) def shlib_generator(target, source, env, for_signature): - cmd = SCons.Util.CLVar('$SHLINK', '$SHLINKFLAGS') + cmd = SCons.Util.CLVar(['$SHLINK', '$SHLINKFLAGS']) dll = env.FindIxes(target, 'SHLIBPREFIX', 'SHLIBSUFFIX') if dll: cmd.extend(['-o', dll]) -- 2.26.2