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>
@@ -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