From 705a3ada6ff55d907bce905142a61c41a0a3d51f Mon Sep 17 00:00:00 2001 From: "Andrew M. Kuchling" Date: Tue, 9 Jan 2001 03:15:47 +0000 Subject: [PATCH] Check in patch #102971: if library_dirs is a string, split it using os.pathsep --- Lib/distutils/command/build_ext.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lib/distutils/command/build_ext.py b/Lib/distutils/command/build_ext.py index 70e8a73455c..936a5f633a1 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 = []