From: Andrew M. Kuchling Date: Tue, 9 Jan 2001 03:15:47 +0000 (+0000) Subject: Check in patch #102971: if library_dirs is a string, split it using X-Git-Tag: v2.1a1~378 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=705a3ada6ff55d907bce905142a61c41a0a3d51f;p=thirdparty%2FPython%2Fcpython.git Check in patch #102971: if library_dirs is a string, split it using os.pathsep --- diff --git a/Lib/distutils/command/build_ext.py b/Lib/distutils/command/build_ext.py index 70e8a73455c4..936a5f633a15 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 = []