diff -up sip-4.12.4/siputils.py.no_rpath sip-4.12.4/siputils.py
--- sip-4.12.4/siputils.py.no_rpath 2011-09-14 13:47:04.430121782 -0500
+++ sip-4.12.4/siputils.py 2011-09-14 13:49:58.173949684 -0500
@@ -418,11 +418,12 @@ class Makefile:
rpaths = _UniqueList()
- for l in self.extra_lib_dirs:
- # Ignore relative directories. This is really a hack to handle
- # SIP v3 inter-module linking.
- if os.path.dirname(l) not in ("", ".", ".."):
- rpaths.append(l)
+ ## HACK indeed, let's not rpath the world, mm-kay? -- rex
+ #for l in self.extra_lib_dirs:
+ ## Ignore relative directories. This is really a hack to handle
+ ## SIP v3 inter-module linking.
+ #if os.path.dirname(l) not in ("", ".", ".."):
+ #rpaths.append(l)
if self._python:
incdir.append(self.config.py_inc_dir)
@@ -591,7 +592,7 @@ class Makefile:
# Handle library directories.
libdir_qt = self.optional_list("LIBDIR_QT")
libdir.extend(libdir_qt)
- rpaths.extend(libdir_qt)
+ #rpaths.extend(libdir_qt)
if self.config.qt_version >= 0x040000:
# Try and read QT_LIBINFIX from qconfig.pri.