From d888a11a372be5886c6894e5b38514e44498934d Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Tue, 15 Sep 2020 12:05:31 +0100 Subject: [PATCH] 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 (cherry picked from commit e92b24368b71e4b178f81097b2a8d141c3b65481) Signed-off-by: Steve Sakoman --- meta/recipes-multimedia/alsa/alsa-plugins_1.2.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-multimedia/alsa/alsa-plugins_1.2.1.bb b/meta/recipes-multimedia/alsa/alsa-plugins_1.2.1.bb index 9882e12763..61d394b0f0 100644 --- a/meta/recipes-multimedia/alsa/alsa-plugins_1.2.1.bb +++ b/meta/recipes-multimedia/alsa/alsa-plugins_1.2.1.bb @@ -52,7 +52,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 -- 2.40.1