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

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Denys Dmytriyenko
2015-03-02 11:17:58 -05:00
committed by Martin Jansa
parent 89fc70e465
commit 7a65ba6089

View 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' \