The libraries argument was completely ignored, fixed. Reported by

Tom Loredo.
This commit is contained in:
Jack Jansen 2001-11-10 23:20:22 +00:00
parent 42ba08fab0
commit 92c2ebf1b2
1 changed files with 2 additions and 1 deletions

View 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()