diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2001-02-17 04:48:41 +0000 |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2001-02-17 04:48:41 +0000 |
commit | b043621f34bd9a8f0ae8e06fdb15db07184d56ac (patch) | |
tree | a4273f656f2468cfc1bc3306ae7b4cc659725809 /Lib | |
parent | 6191f78698dd0c20369f86eb55af8a0d849e62c7 (diff) | |
download | cpython-b043621f34bd9a8f0ae8e06fdb15db07184d56ac.tar.gz |
Split the rpath argument into multiple paths, turning it into a list.
This partially fixes bug #128930.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/distutils/command/build_ext.py | 3 |
1 files changed, 3 insertions, 0 deletions
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. |