From: Ross Burton Date: Tue, 15 Sep 2020 11:05:32 +0000 (+0100) Subject: sato-screenshot: improve .la removal X-Git-Tag: 2020-04.4-dunfell~142 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=07910054c75a084dcfb10c86c1bf69b68989f587;p=openembedded-core.git sato-screenshot: improve .la removal Don't assume that the .la files are installed, because some libtool alternatives don't install these. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie (cherry picked from commit e545ae3a7961111ceb4e2a468e9ec53cebfed721) Signed-off-by: Steve Sakoman --- diff --git a/meta/recipes-sato/sato-screenshot/sato-screenshot_0.3.bb b/meta/recipes-sato/sato-screenshot/sato-screenshot_0.3.bb index f6dac2cf88..2b1f513f1c 100644 --- a/meta/recipes-sato/sato-screenshot/sato-screenshot_0.3.bb +++ b/meta/recipes-sato/sato-screenshot/sato-screenshot_0.3.bb @@ -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