mirror of
https://github.com/python/cpython.git
synced 2025-11-02 11:08:57 +00:00
Lyle Johnson: added 'build_temp' parameter to 'link_shared_{lib,object}()'
methods (but not 'link_executable()', hmmm). Currently only used by BCPPCompiler; it's a dummy parameter for UnixCCompiler and MSVCCompiler. Also added 'bcpp' to compiler table used by 'new_compiler()'.
This commit is contained in:
parent
7d9c705b23
commit
bfc79d644a
3 changed files with 21 additions and 11 deletions
|
|
@ -1,4 +1,4 @@
|
|||
"""distutils.ccompiler
|
||||
"""distutils.msvccompiler
|
||||
|
||||
Contains MSVCCompiler, an implementation of the abstract CCompiler class
|
||||
for the Microsoft Visual Studio."""
|
||||
|
|
@ -322,7 +322,8 @@ class MSVCCompiler (CCompiler) :
|
|||
export_symbols=None,
|
||||
debug=0,
|
||||
extra_preargs=None,
|
||||
extra_postargs=None):
|
||||
extra_postargs=None,
|
||||
build_temp=None):
|
||||
|
||||
self.link_shared_object (objects,
|
||||
self.shared_library_name(output_libname),
|
||||
|
|
@ -333,7 +334,8 @@ class MSVCCompiler (CCompiler) :
|
|||
export_symbols=export_symbols,
|
||||
debug=debug,
|
||||
extra_preargs=extra_preargs,
|
||||
extra_postargs=extra_postargs)
|
||||
extra_postargs=extra_postargs,
|
||||
build_temp=build_temp)
|
||||
|
||||
|
||||
def link_shared_object (self,
|
||||
|
|
@ -346,7 +348,8 @@ class MSVCCompiler (CCompiler) :
|
|||
export_symbols=None,
|
||||
debug=0,
|
||||
extra_preargs=None,
|
||||
extra_postargs=None):
|
||||
extra_postargs=None,
|
||||
build_temp=None):
|
||||
|
||||
(objects, output_dir) = self._fix_object_args (objects, output_dir)
|
||||
(libraries, library_dirs, runtime_library_dirs) = \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue