diff options
author | Greg Ward <gward@python.net> | 2000-06-28 01:29:09 (GMT) |
---|---|---|
committer | Greg Ward <gward@python.net> | 2000-06-28 01:29:09 (GMT) |
commit | bfc79d644adff429c51c90c21a0126d2ab983b32 (patch) | |
tree | b06a950dae9696a8bffbc3ea8350bf17fd8c7e32 /Lib/distutils/unixccompiler.py | |
parent | 7d9c705b234ad2ad013db1649e5fd2ffc2a59a75 (diff) | |
download | cpython-bfc79d644adff429c51c90c21a0126d2ab983b32.zip cpython-bfc79d644adff429c51c90c21a0126d2ab983b32.tar.gz cpython-bfc79d644adff429c51c90c21a0126d2ab983b32.tar.bz2 |
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()'.
Diffstat (limited to 'Lib/distutils/unixccompiler.py')
-rw-r--r-- | Lib/distutils/unixccompiler.py | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/Lib/distutils/unixccompiler.py b/Lib/distutils/unixccompiler.py index 85ce5df..4772e1a 100644 --- a/Lib/distutils/unixccompiler.py +++ b/Lib/distutils/unixccompiler.py @@ -74,6 +74,7 @@ class UnixCCompiler (CCompiler): static_lib_format = shared_lib_format = "lib%s%s" + def __init__ (self, verbose=0, dry_run=0, @@ -199,7 +200,9 @@ class UnixCCompiler (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_filename (output_libname), @@ -210,7 +213,8 @@ class UnixCCompiler (CCompiler): export_symbols, debug, extra_preargs, - extra_postargs) + extra_postargs, + build_temp) def link_shared_object (self, @@ -223,7 +227,8 @@ class UnixCCompiler (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) = \ |