mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Patch 983206: distutils obeys LDSHARED env var. Removed the code in
Python's own setup.py that did the same thing (and tested on Solaris, where LDSHARED is needed...)
This commit is contained in:
parent
8a560dee72
commit
22dcf66f84
4 changed files with 6 additions and 3 deletions
|
@ -153,6 +153,8 @@ def customize_compiler(compiler):
|
|||
cc = os.environ['CC']
|
||||
if os.environ.has_key('CXX'):
|
||||
cxx = os.environ['CXX']
|
||||
if os.environ.has_key('LDSHARED'):
|
||||
ldshared = os.environ['LDSHARED']
|
||||
if os.environ.has_key('CPP'):
|
||||
cpp = os.environ['CPP']
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue