Issue #9437: Fix building C extensions with non-default LDFLAGS.

This commit is contained in:
Antoine Pitrou 2010-10-10 09:37:12 +00:00
parent 19f8edc39d
commit dbec780a0b
4 changed files with 20 additions and 8 deletions

View file

@ -359,6 +359,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