diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-10-10 09:54:59 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-10-10 09:54:59 (GMT) |
commit | 58dab67f2d3e3bccc20f5b2991453e4eb479d6a6 (patch) | |
tree | 6563264297ad7cd83e2d8c26a1a8cd318cddfbc1 /Lib/distutils/sysconfig.py | |
parent | 7be5a65acd4d155730bd5c7981e16b1e5ab814c0 (diff) | |
download | cpython-58dab67f2d3e3bccc20f5b2991453e4eb479d6a6.zip cpython-58dab67f2d3e3bccc20f5b2991453e4eb479d6a6.tar.gz cpython-58dab67f2d3e3bccc20f5b2991453e4eb479d6a6.tar.bz2 |
Merged revisions 85353 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r85353 | antoine.pitrou | 2010-10-10 11:37:12 +0200 (dim., 10 oct. 2010) | 3 lines
Issue #9437: Fix building C extensions with non-default LDFLAGS.
........
Diffstat (limited to 'Lib/distutils/sysconfig.py')
-rw-r--r-- | Lib/distutils/sysconfig.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/distutils/sysconfig.py b/Lib/distutils/sysconfig.py index 4d16b26..9888cd5 100644 --- a/Lib/distutils/sysconfig.py +++ b/Lib/distutils/sysconfig.py @@ -318,6 +318,11 @@ def parse_makefile(fn, g=None): fp.close() + # strip spurious spaces + for k, v in done.items(): + if isinstance(v, str): + done[k] = v.strip() + # save the results in the global dictionary g.update(done) return g |