Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8158b5a commit 2f20dabCopy full SHA for 2f20dab
1 file changed
setup.py
@@ -141,10 +141,7 @@ def build_extensions(self):
141
(ccshared,opt) = sysconfig.get_config_vars('CCSHARED','OPT')
142
args['compiler_so'] = compiler + ' ' + opt + ' ' + ccshared
143
if linker_so is not None:
144
- if platform == 'darwin1':
145
- args['linker_so'] = linker_so
146
- else:
147
- args['linker_so'] = linker_so + ' -shared'
+ args['linker_so'] = linker_so
148
self.compiler.set_executables(**args)
149
150
build_ext.build_extensions(self)
0 commit comments