From dedd5b5ed2695b80673757ac185a30af7e050800 Mon Sep 17 00:00:00 2001 From: Greg Ward Date: Sat, 18 Mar 2000 15:21:03 +0000 Subject: In 'finalize_options()': if 'self.libs' is a string, make it a singleton list. --- Lib/distutils/command/build_ext.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Lib/distutils/command/build_ext.py b/Lib/distutils/command/build_ext.py index 050a5c6..dfe64a1 100644 --- a/Lib/distutils/command/build_ext.py +++ b/Lib/distutils/command/build_ext.py @@ -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? -- cgit v0.12