mirror of
https://github.com/python/cpython.git
synced 2025-08-15 14:20:55 +00:00
Fix parsing of build_ext --libraries option (#1326113)
This commit is contained in:
parent
65d36dab4d
commit
e897a7472d
3 changed files with 10 additions and 8 deletions
|
@ -160,8 +160,7 @@ class build_ext (Command):
|
|||
if plat_py_include != py_include:
|
||||
self.include_dirs.append(plat_py_include)
|
||||
|
||||
if isinstance(self.libraries, str):
|
||||
self.libraries = [self.libraries]
|
||||
self.ensure_string_list('libraries')
|
||||
|
||||
# Life is easier if we're not forever checking for None, so
|
||||
# simplify these options to empty lists if unset
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue