]> granicus.if.org Git - python/commitdiff
The libraries argument was completely ignored, fixed. Reported by
authorJack Jansen <jack.jansen@cwi.nl>
Sat, 10 Nov 2001 23:20:22 +0000 (23:20 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Sat, 10 Nov 2001 23:20:22 +0000 (23:20 +0000)
Tom Loredo.

Lib/distutils/mwerkscompiler.py

index 46e16e2e9423b0e4c08bd80bf1f73608f36578c5..e759456a36c6440421a380d7cc77b927b6a80665 100644 (file)
@@ -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()