]> granicus.if.org Git - python/commitdiff
Check in patch #102971: if library_dirs is a string, split it using
authorAndrew M. Kuchling <amk@amk.ca>
Tue, 9 Jan 2001 03:15:47 +0000 (03:15 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Tue, 9 Jan 2001 03:15:47 +0000 (03:15 +0000)
   os.pathsep

Lib/distutils/command/build_ext.py

index 70e8a73455c4be38ecf5c75726a9b7edbccd50ec..936a5f633a155e90cc3fc715abcbb160e7d37723 100644 (file)
@@ -149,6 +149,8 @@ class build_ext (Command):
             self.libraries = []
         if self.library_dirs is None:
             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 = []