sato-screenshot: improve .la removal

Don't assume that the .la files are installed, because some libtool
alternatives don't install these.

(From OE-Core rev: e545ae3a7961111ceb4e2a468e9ec53cebfed721)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton
2020-09-15 12:05:32 +01:00
committed by Richard Purdie
parent c0352a48d6
commit c433641a05

View File

@@ -21,7 +21,7 @@ inherit autotools pkgconfig features_check
FILES_${PN} += "${libdir}/matchbox-panel/*.so"
do_install_append () {
rm ${D}${libdir}/matchbox-panel/*.la
rm -f ${D}${libdir}/matchbox-panel/*.la
}
# The matchbox-panel-2 requires x11 in DISTRO_FEATURES