Commit 107ea98e authored by Antoine Pitrou's avatar Antoine Pitrou

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

parent f63c10f0
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment