mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
In 'finalize_options()': if 'self.libs' is a string, make it a singleton list.
This commit is contained in:
parent
d03f88a38f
commit
dedd5b5ed2
1 changed files with 3 additions and 0 deletions
|
@ -117,6 +117,9 @@ class build_ext (Command):
|
|||
if exec_py_include != py_include:
|
||||
self.include_dirs.insert (0, exec_py_include)
|
||||
|
||||
if type (self.libs) is StringType:
|
||||
self.libs = [self.libs]
|
||||
|
||||
# XXX how the heck are 'self.define' and 'self.undef' supposed to
|
||||
# be set?
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue