diff options
| -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) { | ||
