diff options
author | Greg Ward <gward@python.net> | 2000-03-18 15:21:03 (GMT) |
---|---|---|
committer | Greg Ward <gward@python.net> | 2000-03-18 15:21:03 (GMT) |
commit | dedd5b5ed2695b80673757ac185a30af7e050800 (patch) | |
tree | 392845fd3db8e0e5dfeaf551d3372805073a0006 | |
parent | d03f88a38f9fe56f1981bae50c007d4b21c99001 (diff) | |
download | cpython-dedd5b5ed2695b80673757ac185a30af7e050800.zip cpython-dedd5b5ed2695b80673757ac185a30af7e050800.tar.gz cpython-dedd5b5ed2695b80673757ac185a30af7e050800.tar.bz2 |
In 'finalize_options()': if 'self.libs' is a string, make it a singleton list.
-rw-r--r-- | Lib/distutils/command/build_ext.py | 3 |
1 files changed, 3 insertions, 0 deletions
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? |