alsa-plugins: improve .la removal
PATCH 1/2 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 <[email protected]>
--- meta/recipes-multimedia/alsa/alsa-plugins_1.2.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-multimedia/alsa/alsa-plugins_1.2.2.bb +1 -1
@@ -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
Signature · 1 line
2.28.0
PATCH 2/2 sato-screenshot: 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 <[email protected]>
--- meta/recipes-sato/sato-screenshot/sato-screenshot_0.3.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-sato/sato-screenshot/sato-screenshot_0.3.bb +1 -1
@@ -21,7 +21,7 @@ inherit autotools pkgconfig features_check FILES_${PN} += "${libdir}/matchbox-panel/*.so" do_install_append () { - rm ${D}${libdir}/matchbox-panel/*.la + rm -f ${D}${libdir}/matchbox-panel/*.la } # The matchbox-panel-2 requires x11 in DISTRO_FEATURES
Signature · 1 line
2.28.0