mirror of
https://github.com/python/cpython.git
synced 2025-10-21 14:12:27 +00:00
Split the rpath argument into multiple paths, turning it into a list.
This partially fixes bug #128930.
This commit is contained in:
parent
30537da0ec
commit
27eba5e888
1 changed files with 3 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue