summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2001-01-09 03:15:47 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2001-01-09 03:15:47 (GMT)
commit705a3ada6ff55d907bce905142a61c41a0a3d51f (patch)
treef49b7ec108787d2da56f39fff9101dc7b2874f5d /Lib
parent9d56cd100e55b8bdac7cc65edc31687e102702e1 (diff)
downloadcpython-705a3ada6ff55d907bce905142a61c41a0a3d51f.zip
cpython-705a3ada6ff55d907bce905142a61c41a0a3d51f.tar.gz
cpython-705a3ada6ff55d907bce905142a61c41a0a3d51f.tar.bz2
Check in patch #102971: if library_dirs is a string, split it using
os.pathsep
Diffstat (limited to 'Lib')
-rw-r--r--Lib/distutils/command/build_ext.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/distutils/command/build_ext.py b/Lib/distutils/command/build_ext.py
index 70e8a73..936a5f6 100644
--- a/Lib/distutils/command/build_ext.py
+++ b/Lib/distutils/command/build_ext.py
@@ -149,6 +149,8 @@ class build_ext (Command):
self.libraries = []
if self.library_dirs is None:
self.library_dirs = []
+ elif type(self.library_dirs) is StringType:
+ self.library_dirs = string.split(self.library_dirs, os.pathsep)
if self.rpath is None:
self.rpath = []