From: Ross Burton Date: Tue, 15 Sep 2020 11:05:31 +0000 (+0100) Subject: alsa-plugins: improve .la removal X-Git-Tag: 2020-10-gatesgarth~208 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=e92b24368b71e4b178f81097b2a8d141c3b65481;p=openembedded-core.git alsa-plugins: 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 --- diff --git a/meta/recipes-multimedia/alsa/alsa-plugins_1.2.2.bb b/meta/recipes-multimedia/alsa/alsa-plugins_1.2.2.bb index 52dee30126..e8402a6fcb 100644 --- a/meta/recipes-multimedia/alsa/alsa-plugins_1.2.2.bb +++ b/meta/recipes-multimedia/alsa/alsa-plugins_1.2.2.bb @@ -51,7 +51,7 @@ FILES_${PN} = "" ALLOW_EMPTY_${PN} = "1" do_install_append() { - rm ${D}${libdir}/alsa-lib/*.la + rm -f ${D}${libdir}/alsa-lib/*.la if [ "${@bb.utils.contains('PACKAGECONFIG', 'pulseaudio', 'yes', 'no', d)}" = "yes" ]; then # We use the example as is. Upstream installs the file under