From: Stefan Krah <skrah@bytereef.org> Date: Tue, 28 Jan 2014 14:04:40 +0000 (+0100) Subject: Issue #9709: Revert 97fb852c5c26. Many extensions are not using PyMODINIT_FUNC. X-Git-Tag: v3.4.0rc1~208 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=748f40d16251a938bb10293943dd9076d800dbaa;p=python Issue #9709: Revert 97fb852c5c26. Many extensions are not using PyMODINIT_FUNC. --- diff --git a/Lib/distutils/command/build_ext.py b/Lib/distutils/command/build_ext.py index 9be592370a..80689b6357 100644 --- a/Lib/distutils/command/build_ext.py +++ b/Lib/distutils/command/build_ext.py @@ -538,7 +538,7 @@ class build_ext(Command): library_dirs=ext.library_dirs, runtime_library_dirs=ext.runtime_library_dirs, extra_postargs=extra_args, - export_symbols=ext.export_symbols, + export_symbols=self.get_export_symbols(ext), debug=self.debug, build_temp=self.build_temp, target_lang=language)