Merge fixes for #1326113 and #12297 from 3.2

This commit is contained in:
Éric Araujo 2012-02-15 17:13:26 +01:00
commit 1d175f7768
4 changed files with 19 additions and 16 deletions

View file

@ -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