From: stevenknight Date: Tue, 2 Dec 2003 04:36:32 +0000 (+0000) Subject: Fix an incorrect _concat() call in the definition for the mingw Tool. (Chad Austin) X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6b8c7341f689b7beeb290af26db89c2f0eb01e77;p=scons.git Fix an incorrect _concat() call in the definition for the mingw Tool. (Chad Austin) git-svn-id: http://scons.tigris.org/svn/scons/trunk@853 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- diff --git a/src/CHANGES.txt b/src/CHANGES.txt index 08e007a5..8e1054a3 100644 --- a/src/CHANGES.txt +++ b/src/CHANGES.txt @@ -20,6 +20,9 @@ RELEASE 0.95 - XXX - Accomodate the fact that Cygwin's os.path.normcase() lies about the underlying system being case-sensitive. + - Fix an incorrect _concat() call in the $RCINCFLAGS definition for + the mingw Tool. + From David M. Cooke: - Make the Fortran scanner case-insensitive for the INCLUDE string. diff --git a/src/engine/SCons/Tool/mingw.py b/src/engine/SCons/Tool/mingw.py index cd18bb50..bc3693dc 100644 --- a/src/engine/SCons/Tool/mingw.py +++ b/src/engine/SCons/Tool/mingw.py @@ -132,7 +132,7 @@ def generate(env): env['RC'] = 'windres' env['RCFLAGS'] = '' - env['RCINCFLAGS'] = '$( ${_concat(RCINCPREFIX, CPPPATH, RCINCSUFFIX, locals(), globals(), RDirs)} $)' + env['RCINCFLAGS'] = '$( ${_concat(RCINCPREFIX, CPPPATH, RCINCSUFFIX, __env__, RDirs)} $)' env['RCINCPREFIX'] = '--include-dir ' env['RCINCSUFFIX'] = '' env['RCCOM'] = '$RC $RCINCFLAGS $RCFLAGS -i $SOURCE -o $TARGET'