From 90b7eb3ccbcf6409fb27a0918982a5e2572c0308 Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Mon, 2 Mar 2015 11:17:58 -0500 Subject: [PATCH] nativesdk-qtbase.inc: avoid removing directories, namely /usr/lib itself (From meta-qt5 rev: 7a65ba6089560efdd840a9590684c24fbcdb7818) Signed-off-by: Denys Dmytriyenko Signed-off-by: Martin Jansa Signed-off-by: Mauro Carvalho Chehab --- meta-qt5/recipes-qt/qt5/nativesdk-qtbase.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-qt5/recipes-qt/qt5/nativesdk-qtbase.inc b/meta-qt5/recipes-qt/qt5/nativesdk-qtbase.inc index 3bad980..35953bb 100644 --- a/meta-qt5/recipes-qt/qt5/nativesdk-qtbase.inc +++ b/meta-qt5/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.7.4