From 816fafc0b88c9e7ee9e71eca6dae370cf393dd65 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 27 Mar 2025 21:44:47 -0700 Subject: [PATCH] gimp: Add libexecinfo to linker flags LLD reports backtrace() as undefined during linking on musl systems musl systems use libexecinfo to provide this API, the dependency is not enough, it needs to reflect in linker flags too, since the assumption is that backtrace() API in in libc ( glibc has it this way) Signed-off-by: Khem Raj Cc: Markus Volk --- meta-gnome/recipes-gimp/gimp/gimp_3.0.2.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-gnome/recipes-gimp/gimp/gimp_3.0.2.bb b/meta-gnome/recipes-gimp/gimp/gimp_3.0.2.bb index 2018ea04c4..f56c12c89b 100644 --- a/meta-gnome/recipes-gimp/gimp/gimp_3.0.2.bb +++ b/meta-gnome/recipes-gimp/gimp/gimp_3.0.2.bb @@ -44,6 +44,8 @@ DEPENDS = " \ DEPENDS:append:libc-musl = " libexecinfo" +LDFLAGS:append:libc-musl = " -lexecinfo" + inherit meson gtk-icon-cache mime-xdg pkgconfig gettext gobject-introspection vala GIR_MESON_OPTION = 'can-crosscompile-gir'