Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5e96fa commit d8014e6Copy full SHA for d8014e6
1 file changed
Lib/distutils/command/build_ext.py
@@ -278,7 +278,9 @@ def check_extensions_list (self, extensions):
278
'extra_objects',
279
'extra_compile_args',
280
'extra_link_args'):
281
- setattr(ext, key, build_info.get(key))
+ val = build_info.get(key)
282
+ if val is not None:
283
+ setattr(ext, key, val)
284
285
# Medium-easy stuff: same syntax/semantics, different names.
286
ext.runtime_library_dirs = build_info.get('rpath')
0 commit comments