File hardcoded-runpath.diff of Package qt-creator

--- src/qtcreatorplugin.pri.old	2012-10-23 12:37:09.532924177 +0200
+++ src/qtcreatorplugin.pri	2012-10-23 12:37:19.843798022 +0200
@@ -91,13 +91,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
 }
 
 # put .pro file directory in INCLUDEPATH
openSUSE Build Service is sponsored by