From 27eba5e88810e433633e0028cc68e74619ace377 Mon Sep 17 00:00:00 2001 From: "Andrew M. Kuchling" Date: Sat, 17 Feb 2001 04:48:41 +0000 Subject: Split the rpath argument into multiple paths, turning it into a list. This partially fixes bug #128930. --- Lib/distutils/command/build_ext.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Lib/distutils/command/build_ext.py b/Lib/distutils/command/build_ext.py index 8f59523..14cfebf 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. -- cgit v0.12