summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--setup.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/setup.py b/setup.py
index 36d63d2..30c6852 100644
--- a/setup.py
+++ b/setup.py
@@ -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'
+ args['linker_so'] = linker_so
self.compiler.set_executables(**args)
build_ext.build_extensions(self)