From: stevenknight Date: Wed, 16 Apr 2003 06:37:04 +0000 (+0000) Subject: Use Win32 long-line tempfile linking when using Cygwin. (Chad Austin) X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=756891e1e885a8b8df646537d42fba3b6a83dc1c;p=scons.git Use Win32 long-line tempfile linking when using Cygwin. (Chad Austin) git-svn-id: http://scons.tigris.org/svn/scons/trunk@647 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- diff --git a/src/CHANGES.txt b/src/CHANGES.txt index e982d73c..11658ffa 100644 --- a/src/CHANGES.txt +++ b/src/CHANGES.txt @@ -24,6 +24,8 @@ RELEASE 0.14 - XXX - Propogate PYTHONPATH when running the regression tests so distutils can be found in non-standard locations. + - Using MSVC long command-line linking when running Cygwin. + From Allen Bierbaum: - Pass an Environment to the Options validator method, and diff --git a/src/engine/SCons/Platform/cygwin.py b/src/engine/SCons/Platform/cygwin.py index 5c6e6099..fad95be4 100644 --- a/src/engine/SCons/Platform/cygwin.py +++ b/src/engine/SCons/Platform/cygwin.py @@ -33,6 +33,7 @@ selection method. __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" import posix +import win32 def generate(env): posix.generate(env) @@ -43,3 +44,4 @@ def generate(env): env['SHLIBSUFFIX'] = '.dll' env['LIBPREFIXES'] = [ '$LIBPREFIX', '$SHLIBPREFIX' ] env['LIBSUFFIXES'] = [ '$LIBSUFFIX', '$SHLIBSUFFIX' ] + env['TEMPFILE'] = win32.TempFileMunge