Mercurial > cpython-lru_cache-weakref
diff setup.py @ 20313:ea1910d2c781 legacy-trunk
Do not add -shared to linker_so. Any necessary options should already be
in LDSHARED.
| author | Martin v. Löwis <martin@v.loewis.de> |
|---|---|
| date | Mon, 08 Oct 2001 13:18:37 +0000 |
| parents | 7ea61da878af |
| children | 9fe97548d952 |
line wrap: on
line diff
--- a/setup.py Mon Oct 08 13:17:28 2001 +0000 +++ b/setup.py Mon Oct 08 13:18:37 2001 +0000 @@ -141,10 +141,7 @@ (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)
