File hardcoded-runpath.diff of Package qt-creator

--- src/qtcreatorplugin.pri	2011-11-20 11:58:43.057821655 +0100
+++ src/qtcreatorplugin.pri.new	2011-11-20 11:58:38.461879432 +0100
@@ -63,13 +63,7 @@
         QMAKE_LFLAGS += -Wl,-rpath,@loader_path/../../,-rpath,@executable_path/../
     }
 } else:linux-* {
-    #do the rpath by hand since it's not possible to use ORIGIN in QMAKE_RPATHDIR
-    QMAKE_RPATHDIR += \$\$ORIGIN
-    QMAKE_RPATHDIR += \$\$ORIGIN/..
-    QMAKE_RPATHDIR += \$\$ORIGIN/../..
-    IDE_PLUGIN_RPATH = $$join(QMAKE_RPATHDIR, ":")
-    QMAKE_LFLAGS += -Wl,-z,origin \'-Wl,-rpath,$${IDE_PLUGIN_RPATH}\'
-    QMAKE_RPATHDIR =
+    QMAKE_RPATHDIR += /usr/$$IDE_LIBRARY_BASENAME/qtcreator
 }
 
 
openSUSE Build Service is sponsored by