Commit 0bcaa17e authored by Martin v. Löwis's avatar Martin v. Löwis

Do not add -shared to linker_so. Any necessary options should already be

in LDSHARED.
parent fa97f661
......@@ -141,10 +141,7 @@ class PyBuildExt(build_ext):
(ccshared,opt) = sysconfig.get_config_vars('CCSHARED','OPT')
args['compiler_so'] = compiler + ' ' + opt + ' ' + ccshared
if linker_so is not None:
if platform == 'darwin1':
args['linker_so'] = linker_so
else:
args['linker_so'] = linker_so + ' -shared'
self.compiler.set_executables(**args)
build_ext.build_extensions(self)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment