Split the rpath argument into multiple paths, turning it into a list.

This partially fixes bug #128930.
This commit is contained in:
Andrew M. Kuchling 2001-02-17 04:48:41 +00:00
parent 30537da0ec
commit 27eba5e888

View file

@ -151,8 +151,11 @@ class build_ext (Command):
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 = []
elif type(self.rpath) is StringType:
self.rpath = string.split(self.rpath, os.pathsep)
# for extensions under windows use different directories
# for Release and Debug builds.