Check in patch #102971: if library_dirs is a string, split it using

os.pathsep
This commit is contained in:
Andrew M. Kuchling 2001-01-09 03:15:47 +00:00
parent 9d56cd100e
commit 705a3ada6f
1 changed files with 2 additions and 0 deletions

View File

@ -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 = []