mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Fix parsing of build_ext --libraries option (#1326113)
This commit is contained in:
parent
4b3c7846c9
commit
b2f5c0a4c4
3 changed files with 10 additions and 8 deletions
|
@ -165,8 +165,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