Subversion Repositories KardasA Overlay

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
74 kardasa 1
--- Ft/Lib/DistExt/BuildExt.py.orig     2006-12-29 00:09:54.000000000 +0100
2
+++ Ft/Lib/DistExt/BuildExt.py  2006-12-29 00:10:37.000000000 +0100
3
@@ -61,6 +61,8 @@
4
         if (sys.platform.startswith('linux') and
5
             sysconfig.get_config_var('Py_ENABLE_SHARED')):
6
             libpl, ldlibrary = sysconfig.get_config_vars('LIBPL', 'LDLIBRARY')
7
+            if libpl not in self.library_dirs:
8
+                libpl = os.path.join(sys.prefix, 'lib', 'python' + sys.version[:3], 'config')
9
             if libpl in self.library_dirs:
10
                 if not os.path.exists(os.path.join(libpl, ldlibrary)):
11
                     self.library_dirs.remove(libpl)