diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2001-11-10 23:20:22 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2001-11-10 23:20:22 (GMT) |
commit | 92c2ebf1b2972480f01e297a7171ae8a5e18d802 (patch) | |
tree | daecf643e58be9227e49e597a12254224f0bdb16 | |
parent | 42ba08fab0f1d38e7c9fb68b222134b6182f9bf8 (diff) | |
download | cpython-92c2ebf1b2972480f01e297a7171ae8a5e18d802.zip cpython-92c2ebf1b2972480f01e297a7171ae8a5e18d802.tar.gz cpython-92c2ebf1b2972480f01e297a7171ae8a5e18d802.tar.bz2 |
The libraries argument was completely ignored, fixed. Reported by
Tom Loredo.
-rw-r--r-- | Lib/distutils/mwerkscompiler.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/distutils/mwerkscompiler.py b/Lib/distutils/mwerkscompiler.py index 46e16e2..e759456 100644 --- a/Lib/distutils/mwerkscompiler.py +++ b/Lib/distutils/mwerkscompiler.py @@ -16,7 +16,7 @@ import distutils.dir_util import mkcwproject class MWerksCompiler (CCompiler) : - """Concrete class that implements an interface to Microsoft Visual C++, + """Concrete class that implements an interface to MetroWerks CodeWarrior, as defined by the CCompiler abstract class.""" compiler_type = 'mwerks' @@ -150,6 +150,7 @@ class MWerksCompiler (CCompiler) : if not dirname in sourcefiledirs: sourcefiledirs.append(dirname) settings['sources'] = sourcefilenames + settings['libraries'] = libraries settings['extrasearchdirs'] = sourcefiledirs + include_dirs + library_dirs if self.dry_run: print 'CALLING LINKER IN', os.getcwd() |