nativesdk-qtbase.inc: avoid removing directories, namely /usr/lib itself
authorDenys Dmytriyenko <denys@ti.com>
Mon, 2 Mar 2015 16:17:58 +0000 (11:17 -0500)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 24 Jul 2015 16:42:13 +0000 (13:42 -0300)
(From meta-qt5 rev: 7a65ba6089560efdd840a9590684c24fbcdb7818)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
meta-qt5/recipes-qt/qt5/nativesdk-qtbase.inc

index 3bad980..35953bb 100644 (file)
@@ -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' \