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:
Anthony Baxter 2004-10-13 15:54:17 +00:00
parent 8a560dee72
commit 22dcf66f84
4 changed files with 6 additions and 3 deletions

View file

@ -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: