summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/unixccompiler.py
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-05-20 13:23:21 (GMT)
committerGreg Ward <gward@python.net>2000-05-20 13:23:21 (GMT)
commit5299b6afc568ac19917b93032295ad8bfbdfc711 (patch)
tree179b6618204f3c99b17e17d63aa3e01e9eebe0b1 /Lib/distutils/unixccompiler.py
parent974f70d97b2bf0fd1828d5c08bc638e25e27aca5 (diff)
downloadcpython-5299b6afc568ac19917b93032295ad8bfbdfc711.zip
cpython-5299b6afc568ac19917b93032295ad8bfbdfc711.tar.gz
cpython-5299b6afc568ac19917b93032295ad8bfbdfc711.tar.bz2
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.
Diffstat (limited to 'Lib/distutils/unixccompiler.py')
-rw-r--r--Lib/distutils/unixccompiler.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/distutils/unixccompiler.py b/Lib/distutils/unixccompiler.py
index 5e1524c..40f564a 100644
--- a/Lib/distutils/unixccompiler.py
+++ b/Lib/distutils/unixccompiler.py
@@ -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):