[SCM] WebKit Debian packaging branch, webkit-1.1, updated. upstream/1.1.22-985-g3c00f00
hausmann at webkit.org
hausmann at webkit.org
Wed Mar 17 18:31:05 UTC 2010
The following commit has been merged in the webkit-1.1 branch:
commit 9e0d7bd24ca9900aaadaa13f92da78ee50366772
Author: hausmann at webkit.org <hausmann at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Wed Mar 10 12:10:46 2010 +0000
Link QtLauncher against the WebKit library using a relative rpath.
Reviewed by Tor Arne Vestbø.
This makes the launcher and the lib relocatable.
* QtLauncher/QtLauncher.pro:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55775 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKitTools/ChangeLog b/WebKitTools/ChangeLog
index bca4baf..2b4163e 100644
--- a/WebKitTools/ChangeLog
+++ b/WebKitTools/ChangeLog
@@ -1,3 +1,13 @@
+2010-03-10 Simon Hausmann <simon.hausmann at nokia.com>
+
+ Reviewed by Tor Arne Vestbø.
+
+ Link QtLauncher against the WebKit library using a relative rpath.
+
+ This makes the launcher and the lib relocatable.
+
+ * QtLauncher/QtLauncher.pro:
+
2010-03-10 Holger Hans Peter Freyther <zecke at selfish.org>
Rubber-stamped by Simon Hausmann.
diff --git a/WebKitTools/QtLauncher/QtLauncher.pro b/WebKitTools/QtLauncher/QtLauncher.pro
index bb42d62..8793d7e 100644
--- a/WebKitTools/QtLauncher/QtLauncher.pro
+++ b/WebKitTools/QtLauncher/QtLauncher.pro
@@ -28,7 +28,19 @@ DESTDIR = $$OUTPUT_DIR/bin
QT += network
macx:QT+=xml
-QMAKE_RPATHDIR = $$OUTPUT_DIR/lib $$QMAKE_RPATHDIR
+
+linux-* {
+ # From Creator's src/rpath.pri:
+ # Do the rpath by hand since it's not possible to use ORIGIN in QMAKE_RPATHDIR
+ # this expands to $ORIGIN (after qmake and make), it does NOT read a qmake var.
+ QMAKE_RPATHDIR = \$\$ORIGIN/../lib $$QMAKE_RPATHDIR
+ MY_RPATH = $$join(QMAKE_RPATHDIR, ":")
+
+ QMAKE_LFLAGS += -Wl,-z,origin \'-Wl,-rpath,$${MY_RPATH}\'
+ QMAKE_RPATHDIR =
+} else {
+ QMAKE_RPATHDIR = $$OUTPUT_DIR/lib $$QMAKE_RPATHDIR
+}
symbian {
TARGET.UID3 = 0xA000E543
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list