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