[oe] [meta-qt5][PATCH v2] nativesdk-qtbase.inc: avoid removing directories, namely /usr/lib itself
Denys Dmytriyenko
denis at denix.org
Mon Mar 2 16:17:58 UTC 2015
From: Denys Dmytriyenko <denys at ti.com>
Signed-off-by: Denys Dmytriyenko <denys at ti.com>
---
recipes-qt/qt5/nativesdk-qtbase.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/recipes-qt/qt5/nativesdk-qtbase.inc b/recipes-qt/qt5/nativesdk-qtbase.inc
index 3bad980..35953bb 100644
--- a/recipes-qt/qt5/nativesdk-qtbase.inc
+++ b/recipes-qt/qt5/nativesdk-qtbase.inc
@@ -230,7 +230,7 @@ do_install() {
${D}/${OE_QMAKE_PATH_PLUGINS} \
${D}${libdir}/cmake \
${D}${libdir}/pkgconfig
- find ${D}${libdir} -maxdepth 1 -name 'lib*' -and \
+ find ${D}${libdir} -maxdepth 1 -name 'lib*' -and -not -type d -and \
-not -name 'libQt5Core.so*' -and \
${QTLIBSPRESERVE} \
-not -name 'libQt5Bootstrap.a' \
--
2.2.0
More information about the Openembedded-devel
mailing list