[1/2] alsa-plugins: improve .la removal

Submitted by Ross Burton on Sept. 15, 2020, 11:05 a.m. | Patch ID: 176535

Details

Message ID 20200915110532.501629-1-ross.burton@arm.com
State Accepted
Commit e92b24368b71e4b178f81097b2a8d141c3b65481
Headers show

Commit Message

Ross Burton Sept. 15, 2020, 11:05 a.m.
Don't assume that the .la files are installed, because some libtool
alternatives don't install these.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/recipes-multimedia/alsa/alsa-plugins_1.2.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

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