aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-qt/qwt/qwt-qt5
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-07-10 23:31:02 -0700
committerMartin Jansa <Martin.Jansa@gmail.com>2017-07-12 10:25:33 +0200
commit00d72cd892b2c7edb3c0c158f0f2f5f5ecd41887 (patch)
tree8302157e444cbc0831cf408899f3a70f89bdfd85 /recipes-qt/qwt/qwt-qt5
parentaa0605d3c7364f226d655376ee89166dbcbe4cea (diff)
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>
Diffstat (limited to 'recipes-qt/qwt/qwt-qt5')
-rw-r--r--recipes-qt/qwt/qwt-qt5/remove_rpath.patch17
1 files changed, 17 insertions, 0 deletions
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 @@
+Remove rpath from library, it points to build area which is not
+ok
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+
+Index: qwt-6.1.3/designer/designer.pro
+===================================================================
+--- qwt-6.1.3.orig/designer/designer.pro
++++ qwt-6.1.3/designer/designer.pro
+@@ -83,7 +83,6 @@ contains(QWT_CONFIG, QwtDesigner) {
+ # compile the path for finding the Qwt library
+ # into the plugin. Not supported on Windows !
+
+- QMAKE_RPATHDIR *= $${QWT_INSTALL_LIBS}
+ qwtAddLibrary($${QWT_OUT_ROOT}/lib, qwt)
+
+ contains(QWT_CONFIG, QwtDll) {