qtwebkit-opensource-src-5.2.1-no_rpath.patch 864 B

12345678910111213
  1. diff -up qtwebkit-opensource-src-5.2.1/Tools/qmake/mkspecs/features/rpath.prf.no_rpath qtwebkit-opensource-src-5.2.1/Tools/qmake/mkspecs/features/rpath.prf
  2. --- qtwebkit-opensource-src-5.2.1/Tools/qmake/mkspecs/features/rpath.prf.no_rpath 2014-02-01 14:37:41.000000000 -0600
  3. +++ qtwebkit-opensource-src-5.2.1/Tools/qmake/mkspecs/features/rpath.prf 2014-05-02 18:47:26.789051711 -0500
  4. @@ -6,7 +6,7 @@
  5. equals(ROOT_BUILD_DIR, $$dirname(DESTDIR)): RPATHDIR_RELATIVE_TO_DESTDIR = ../lib
  6. -linux-*:!isEmpty(RPATHDIR_RELATIVE_TO_DESTDIR) {
  7. +linux-rpath_me_harder_no_no_no:!isEmpty(RPATHDIR_RELATIVE_TO_DESTDIR) {
  8. # Do the rpath by hand since it's not possible to use ORIGIN in QMAKE_RPATHDIR
  9. # this expands to $ORIGIN (after qmake and make), it does NOT read a qmake var.
  10. QMAKE_RPATHDIR = \$\$ORIGIN/$${RPATHDIR_RELATIVE_TO_DESTDIR} $${QMAKE_RPATHDIR}