From: Jack Jansen Date: Sat, 10 Nov 2001 23:20:22 +0000 (+0000) Subject: The libraries argument was completely ignored, fixed. Reported by X-Git-Tag: v2.2.1c1~792 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=92c2ebf1b2972480f01e297a7171ae8a5e18d802;p=python The libraries argument was completely ignored, fixed. Reported by Tom Loredo. --- diff --git a/Lib/distutils/mwerkscompiler.py b/Lib/distutils/mwerkscompiler.py index 46e16e2e94..e759456a36 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()