LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File hardcoded-runpath.diff of Package qt-creator (Project openSUSE:Factory)

--- src/qtcreatorplugin.pri.old	2012-09-12 02:13:04.229836044 +0200
+++ src/qtcreatorplugin.pri	2012-09-12 02:13:31.987487083 +0200
@@ -81,13 +81,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