Skip to contentSkip to conversation

nativesdk-qtbase.inc: avoid removing directories, namely /usr/lib itself

PATCH New Denys Dmytriyenko 1 participant 1 message Mar 2, 2015

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 nativesdk-qtbase.inc: avoid removing directories, namely /usr/lib itself

From: Denys Dmytriyenko <[email protected]>

---
 recipes-qt/qt5/nativesdk-qtbase.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-qt/qt5/nativesdk-qtbase.inc +1 -1
index 3bad980..35953bb 100644
@@ -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' \
Signature · 1 line
2.2.0