mirror of
https://github.com/python/cpython.git
synced 2025-10-05 14:41:07 +00:00
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. ........
This commit is contained in:
parent
7be5a65acd
commit
58dab67f2d
4 changed files with 20 additions and 8 deletions
|
@ -251,6 +251,11 @@ def _parse_makefile(filename, vars=None):
|
|||
else:
|
||||
# bogus variable reference; just drop it since we can't deal
|
||||
del notdone[name]
|
||||
# strip spurious spaces
|
||||
for k, v in done.items():
|
||||
if isinstance(v, str):
|
||||
done[k] = v.strip()
|
||||
|
||||
# save the results in the global dictionary
|
||||
vars.update(done)
|
||||
return vars
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue