From: Andrew M. Kuchling Date: Sat, 17 Feb 2001 04:48:41 +0000 (+0000) Subject: Split the rpath argument into multiple paths, turning it into a list. X-Git-Tag: v2.1b1~331 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=27eba5e88810e433633e0028cc68e74619ace377;p=python Split the rpath argument into multiple paths, turning it into a list. This partially fixes bug #128930. --- diff --git a/Lib/distutils/command/build_ext.py b/Lib/distutils/command/build_ext.py index 8f59523935..14cfebf720 100644 --- a/Lib/distutils/command/build_ext.py +++ b/Lib/distutils/command/build_ext.py @@ -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.