[meta-lts-mixins][scarthgap/rust][PATCH 18/35] librsvg: remove obsolete .la deletion

Scott Murray <[email protected]> Fri, 31 Jul 2026 07:32:48 -0400
Newsgroups org.yoctoproject.lists.yocto-patches
Message-ID <f51397584cf7ff6be559f4012ab4d451212b86e7.1785496469.git.scott.murray@konsulko.com>
From: Ross Burton <[email protected]>

librsvg is built with Meson now, so there's no need to delete .a or .la
files that don't exist.

Signed-off-by: Ross Burton <[email protected]>
Signed-off-by: Mathieu Dubois-Briand <[email protected]>
Signed-off-by: Richard Purdie <[email protected]>
(adapted from oe-core commit 25b1f198ea69c7f1c08cd0638f322edf4121c199)
Signed-off-by: Scott Murray <[email protected]>
---
 recipes-gnome/librsvg/librsvg_2.61.3.bb | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/recipes-gnome/librsvg/librsvg_2.61.3.bb b/recipes-gnome/librsvg/librsvg_2.61.3.bb
index 419d5cc..06f08ba 100644
--- a/recipes-gnome/librsvg/librsvg_2.61.3.bb
+++ b/recipes-gnome/librsvg/librsvg_2.61.3.bb
@@ -68,11 +68,6 @@ PACKAGECONFIG[gdkpixbuf] = "-Dpixbuf-loader=enabled,-Dpixbuf-loader=disabled,gdk
 PACKAGECONFIG[vala] = "-Dvala=enabled,-Dvala=disabled"
 PACKAGECONFIG[apitest] = "-Dtests=true,-Dtests=false"
 
-do_install:append() {
-	# Loadable modules don't need .a or .la on Linux
-	rm -f ${D}${libdir}/gdk-pixbuf-2.0/*/loaders/*.a ${D}${libdir}/gdk-pixbuf-2.0/*/loaders/*.la
-}
-
 do_compile_ptest_cargo:prepend() {
     # The packageconfig is for meson, but the rust tests are compiled directly with cargo,
     # so these arguments don't apply. Note that this is Python, the intendation is intentional.
-- 
2.55.0