From: stevenknight Date: Wed, 9 Apr 2003 22:45:07 +0000 (+0000) Subject: Fix Cygwin shared library support (use .dll not .so). (Chad Austin) X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1f8b8ebdcfb6c972865b0ba9124a6c36af25d486;p=scons.git Fix Cygwin shared library support (use .dll not .so). (Chad Austin) git-svn-id: http://scons.tigris.org/svn/scons/trunk@637 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- diff --git a/src/CHANGES.txt b/src/CHANGES.txt index c48b40dc..5e0067ba 100644 --- a/src/CHANGES.txt +++ b/src/CHANGES.txt @@ -10,6 +10,10 @@ RELEASE 0.14 - XXX + From Chad Austin: + + - Use .dll (not .so) for shared libraries on Cygwin. + From Steven Knight: - Add support for Java (javac and jar). diff --git a/src/engine/SCons/Platform/cygwin.py b/src/engine/SCons/Platform/cygwin.py index 6ed458dc..5c6e6099 100644 --- a/src/engine/SCons/Platform/cygwin.py +++ b/src/engine/SCons/Platform/cygwin.py @@ -37,5 +37,9 @@ import posix def generate(env): posix.generate(env) - env['PROGPREFIX'] = '' - env['PROGSUFFIX'] = '.exe' + env['PROGPREFIX'] = '' + env['PROGSUFFIX'] = '.exe' + env['SHLIBPREFIX'] = '' + env['SHLIBSUFFIX'] = '.dll' + env['LIBPREFIXES'] = [ '$LIBPREFIX', '$SHLIBPREFIX' ] + env['LIBSUFFIXES'] = [ '$LIBSUFFIX', '$SHLIBSUFFIX' ]