From 5aa08ca375d2f0979c40dc58d66f0d630805236a Mon Sep 17 00:00:00 2001 From: Stefan Krah Date: Tue, 3 Dec 2013 13:55:20 +0100 Subject: [PATCH] Issue #9709: Stop adding PyInit_" + module_name' to export_symbols. This is already done by PyMODINIT_FUNC. --- Lib/distutils/command/build_ext.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/distutils/command/build_ext.py b/Lib/distutils/command/build_ext.py index 80689b6357..9be592370a 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=self.get_export_symbols(ext), + export_symbols=ext.export_symbols, debug=self.debug, build_temp=self.build_temp, target_lang=language) -- 2.40.0