Commit e1e774a2 authored by Greg Ward's avatar Greg Ward

In 'check_extensions_list()': when converting old-style 'buildinfo' dict,

don't assign None to any attributes of the Extension object.
parent a535c80e
......@@ -278,7 +278,9 @@ class build_ext (Command):
'extra_objects',
'extra_compile_args',
'extra_link_args'):
setattr(ext, key, build_info.get(key))
val = build_info.get(key)
if val is not None:
setattr(ext, key, val)
# Medium-easy stuff: same syntax/semantics, different names.
ext.runtime_library_dirs = build_info.get('rpath')
......
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