mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
Added support for the 'export_symbols' parameter to 'link_shared_object()'
and 'link_shared_lib()'. In MSVCCompiler, this is meaningful: it adds /EXPORT: options to the linker command line. In UnixCCompiler, it is ignored.
This commit is contained in:
parent
974f70d97b
commit
5299b6afc5
3 changed files with 22 additions and 3 deletions
|
|
@ -178,6 +178,7 @@ class UnixCCompiler (CCompiler):
|
|||
libraries=None,
|
||||
library_dirs=None,
|
||||
runtime_library_dirs=None,
|
||||
export_symbols=None,
|
||||
debug=0,
|
||||
extra_preargs=None,
|
||||
extra_postargs=None):
|
||||
|
|
@ -188,6 +189,7 @@ class UnixCCompiler (CCompiler):
|
|||
libraries,
|
||||
library_dirs,
|
||||
runtime_library_dirs,
|
||||
export_symbols,
|
||||
debug,
|
||||
extra_preargs,
|
||||
extra_postargs)
|
||||
|
|
@ -200,6 +202,7 @@ class UnixCCompiler (CCompiler):
|
|||
libraries=None,
|
||||
library_dirs=None,
|
||||
runtime_library_dirs=None,
|
||||
export_symbols=None,
|
||||
debug=0,
|
||||
extra_preargs=None,
|
||||
extra_postargs=None):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue