summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/PyQt4/files/PyQt4-4.6.1-configure-multilib.patch')
-rw-r--r--dev-python/PyQt4/files/PyQt4-4.6.1-configure-multilib.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-python/PyQt4/files/PyQt4-4.6.1-configure-multilib.patch b/dev-python/PyQt4/files/PyQt4-4.6.1-configure-multilib.patch
new file mode 100644
index 000000000000..c187dcd4d1d9
--- /dev/null
+++ b/dev-python/PyQt4/files/PyQt4-4.6.1-configure-multilib.patch
@@ -0,0 +1,13 @@
+--- PyQt-x11-gpl-4.6.1~orig/configure.py 2009-11-04 22:28:05.000000000 +0100
++++ PyQt-x11-gpl-4.6.1/configure.py 2009-11-04 23:10:01.000000000 +0100
+@@ -854,8 +854,8 @@
+ # version.
+ link = "-framework Python"
+ elif ("--enable-shared" in ducfg.get("CONFIG_ARGS", "") and
+- glob.glob("%s/lib/libpython%d.%d*" % (ducfg["exec_prefix"], py_major, py_minor))):
+- lib_dir_flag = quote("-L%s/lib" % ducfg["exec_prefix"])
++ glob.glob("%s/libpython%d.%d*" % (ducfg["LIBDIR"], py_major, py_minor))):
++ lib_dir_flag = quote("-L%s" % ducfg["LIBDIR"])
+ link = "%s -lpython%d.%d" % (lib_dir_flag, py_major, py_minor)
+ else:
+ sipconfig.inform("Qt Designer plugin disabled because Python library is static")