]> code.ossystems Code Review - openembedded-core.git/commitdiff
alsa-plugins: improve .la removal
authorRoss Burton <ross@burtonini.com>
Tue, 15 Sep 2020 11:05:31 +0000 (12:05 +0100)
committerSteve Sakoman <steve@sakoman.com>
Mon, 28 Sep 2020 17:55:37 +0000 (07:55 -1000)
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>
meta/recipes-multimedia/alsa/alsa-plugins_1.2.1.bb

index 9882e12763a8ad7acc4e70835a2289844452ce33..61d394b0f07211c1098446494a6684fa633dba58 100644 (file)
@@ -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