Browse Source

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 <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e92b24368b71e4b178f81097b2a8d141c3b65481)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Ross Burton 3 years ago
parent
commit
d888a11a37
1 changed files with 1 additions and 1 deletions
  1. 1 1
      meta/recipes-multimedia/alsa/alsa-plugins_1.2.1.bb

+ 1 - 1
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