mirror of https://github.com/python/cpython.git
The libraries argument was completely ignored, fixed. Reported by
Tom Loredo.
This commit is contained in:
parent
42ba08fab0
commit
92c2ebf1b2
|
@ -16,7 +16,7 @@
|
|||
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 @@ def link (self,
|
|||
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()
|
||||
|
|
Loading…
Reference in New Issue