diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-07-10 23:31:02 -0700 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-07-12 10:25:33 +0200 |
commit | 00d72cd892b2c7edb3c0c158f0f2f5f5ecd41887 (patch) | |
tree | 8302157e444cbc0831cf408899f3a70f89bdfd85 | |
parent | aa0605d3c7364f226d655376ee89166dbcbe4cea (diff) | |
download | meta-qt5-00d72cd892b2c7edb3c0c158f0f2f5f5ecd41887.tar.gz |
qwt-qt5: Fix rpath issues
It errors out
usr/plugins/designer/libqwt_designer_plugin.so [rpaths]
QA Issue: qwt-qt5-plugins: found library in wrong location: /usr/plugins/designer/libqwt_designer_plugin.so
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r-- | recipes-qt/qwt/qwt-qt5.inc | 5 | ||||
-rw-r--r-- | recipes-qt/qwt/qwt-qt5/remove_rpath.patch | 17 |
2 files changed, 20 insertions, 2 deletions
diff --git a/recipes-qt/qwt/qwt-qt5.inc b/recipes-qt/qwt/qwt-qt5.inc index ee4fbd77..90bd9f72 100644 --- a/recipes-qt/qwt/qwt-qt5.inc +++ b/recipes-qt/qwt/qwt-qt5.inc | |||
@@ -8,9 +8,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=dac2743472b0462ff3cfb4af42051c88" | |||
8 | DEPENDS = "qtbase qtsvg qttools" | 8 | DEPENDS = "qtbase qtsvg qttools" |
9 | 9 | ||
10 | SRC_URI = "${SOURCEFORGE_MIRROR}/qwt/qwt-${PV}.tar.bz2;name=qwt \ | 10 | SRC_URI = "${SOURCEFORGE_MIRROR}/qwt/qwt-${PV}.tar.bz2;name=qwt \ |
11 | file://remove_rpath.patch \ | ||
11 | " | 12 | " |
12 | # file://qwt6.patch | ||
13 | # file://qwt6-fix-linking-with-ld-gold.patch" | ||
14 | 13 | ||
15 | S = "${WORKDIR}/qwt-${PV}" | 14 | S = "${WORKDIR}/qwt-${PV}" |
16 | 15 | ||
@@ -45,3 +44,5 @@ FILES_${PN}-plugins = "${prefix}/plugins/designer/*.so" | |||
45 | FILES_${PN}-dbg += "${prefix}/plugins/designer/.debug" | 44 | FILES_${PN}-dbg += "${prefix}/plugins/designer/.debug" |
46 | FILES_${PN}-doc += "${prefix}/doc" | 45 | FILES_${PN}-doc += "${prefix}/doc" |
47 | 46 | ||
47 | INSANE_SKIP_${PN}-plugins += "libdir" | ||
48 | |||
diff --git a/recipes-qt/qwt/qwt-qt5/remove_rpath.patch b/recipes-qt/qwt/qwt-qt5/remove_rpath.patch new file mode 100644 index 00000000..14b65d6a --- /dev/null +++ b/recipes-qt/qwt/qwt-qt5/remove_rpath.patch | |||
@@ -0,0 +1,17 @@ | |||
1 | Remove rpath from library, it points to build area which is not | ||
2 | ok | ||
3 | |||
4 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
5 | |||
6 | Index: qwt-6.1.3/designer/designer.pro | ||
7 | =================================================================== | ||
8 | --- qwt-6.1.3.orig/designer/designer.pro | ||
9 | +++ qwt-6.1.3/designer/designer.pro | ||
10 | @@ -83,7 +83,6 @@ contains(QWT_CONFIG, QwtDesigner) { | ||
11 | # compile the path for finding the Qwt library | ||
12 | # into the plugin. Not supported on Windows ! | ||
13 | |||
14 | - QMAKE_RPATHDIR *= $${QWT_INSTALL_LIBS} | ||
15 | qwtAddLibrary($${QWT_OUT_ROOT}/lib, qwt) | ||
16 | |||
17 | contains(QWT_CONFIG, QwtDll) { | ||