]> granicus.if.org Git - python/commitdiff
Split the rpath argument into multiple paths, turning it into a list.
authorAndrew M. Kuchling <amk@amk.ca>
Sat, 17 Feb 2001 04:48:41 +0000 (04:48 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Sat, 17 Feb 2001 04:48:41 +0000 (04:48 +0000)
    This partially fixes bug #128930.

Lib/distutils/command/build_ext.py

index 8f59523935dbdc784bf0294714c2dcaf70b8c433..14cfebf7200b1bdfb57ce33d72b10143a74ae6a6 100644 (file)
@@ -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.