summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrevor Woerner <trevor.woerner@linaro.org>2013-09-24 02:35:11 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2013-10-03 18:02:47 +0200
commit3a84535bcba5f54264964b65a09d04022f939230 (patch)
treeaf98e2c44c4032c8641c4f45c0f4317fdd2bc4ce
parent047908c2c5bc62283d12f137b3df7a569fb84c68 (diff)
downloadmeta-qt5-3a84535bcba5f54264964b65a09d04022f939230.tar.gz
qtwebkit: fix QA issue (bad RPATH)
Building qtwebkit causes a QA issue such that QtWebPluginProcess and QtWebProcess contain bad RPATHs which point into the build location. This fix adds a patch to not include the rpath.prf which causes this problem. Signed-off-by: Trevor Woerner <trevor.woerner@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--recipes-qt/qt5/qtwebkit.inc5
-rw-r--r--recipes-qt/qt5/qtwebkit/fix-rpath.patch13
2 files changed, 14 insertions, 4 deletions
diff --git a/recipes-qt/qt5/qtwebkit.inc b/recipes-qt/qt5/qtwebkit.inc
index 9c467dce..0c681343 100644
--- a/recipes-qt/qt5/qtwebkit.inc
+++ b/recipes-qt/qt5/qtwebkit.inc
@@ -13,7 +13,4 @@ EXTRA_QMAKEVARS_PRE += "${QTWEBKIT_DEBUG}"
13 13
14INC_PR = "r0" 14INC_PR = "r0"
15 15
16do_configure_append() { 16SRC_URI += "file://fix-rpath.patch"
17 # Fix rpaths for QtWebProcess
18 find -name "Makefile*" | xargs sed -i "s|-Wl,-rpath,${B}/lib||g"
19}
diff --git a/recipes-qt/qt5/qtwebkit/fix-rpath.patch b/recipes-qt/qt5/qtwebkit/fix-rpath.patch
new file mode 100644
index 00000000..5c205144
--- /dev/null
+++ b/recipes-qt/qt5/qtwebkit/fix-rpath.patch
@@ -0,0 +1,13 @@
1Index: qtwebkit-opensource-src-5.1.0/Tools/qmake/mkspecs/features/unix/default_post.prf
2===================================================================
3--- qtwebkit-opensource-src-5.1.0.orig/Tools/qmake/mkspecs/features/unix/default_post.prf
4+++ qtwebkit-opensource-src-5.1.0/Tools/qmake/mkspecs/features/unix/default_post.prf
5@@ -32,8 +32,6 @@ linux-*g++* {
6 QMAKE_OBJECTIVE_CFLAGS += -Wno-c++11-extensions -Wno-c++0x-extensions
7 }
8
9-contains(TEMPLATE, app): CONFIG += rpath
10-
11 isEqual(QT_ARCH,i386):CONFIG(debug, debug|release) {
12 # Make ld not cache the symbol tables of input files in memory to avoid memory exhaustion during the linking phase.
13 config_gnuld: QMAKE_LFLAGS += -Wl,--no-keep-memory