]> granicus.if.org Git - python/commitdiff
In 'finalize_options()': if 'self.libs' is a string, make it a singleton list.
authorGreg Ward <gward@python.net>
Sat, 18 Mar 2000 15:21:03 +0000 (15:21 +0000)
committerGreg Ward <gward@python.net>
Sat, 18 Mar 2000 15:21:03 +0000 (15:21 +0000)
Lib/distutils/command/build_ext.py

index 050a5c65b75e40231c51f19a61942a5ae77eb5e4..dfe64a114e6ffcfa5a80caa4985d6501fed8e3bd 100644 (file)
@@ -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?