summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2001-02-17 04:48:41 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2001-02-17 04:48:41 (GMT)
commit27eba5e88810e433633e0028cc68e74619ace377 (patch)
treec351ecc76621c51c7d142ff7c284468becb19e58
parent30537da0ece2b1c12bde4ef271c8b827d74d7c64 (diff)
downloadcpython-27eba5e88810e433633e0028cc68e74619ace377.zip
cpython-27eba5e88810e433633e0028cc68e74619ace377.tar.gz
cpython-27eba5e88810e433633e0028cc68e74619ace377.tar.bz2
Split the rpath argument into multiple paths, turning it into a list.
This partially fixes bug #128930.
-rw-r--r--Lib/distutils/command/build_ext.py3
1 files changed, 3 insertions, 0 deletions
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.