Commit 0947dede authored by Stefan Behnel's avatar Stefan Behnel

allow '=' to occur in C defined macro values when parsing distutils options

parent f62074e2
......@@ -209,7 +209,7 @@ class DistutilsInfo(object):
if type in (list, transitive_list):
value = parse_list(value)
if key == 'define_macros':
value = [tuple(macro.split('='))
value = [tuple(macro.split('=', 1))
if '=' in macro else (macro, None)
for macro in value]
self.values[key] = value
......
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