diff mbox series

[meta-gnome] gimp: Add libexecinfo to linker flags

Message ID 20250328044741.2513702-1-raj.khem@gmail.com
State New
Headers show
Series [meta-gnome] gimp: Add libexecinfo to linker flags | expand

Commit Message

Khem Raj March 28, 2025, 4:47 a.m. UTC
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 <raj.khem@gmail.com>
Cc: Markus Volk <f_l_k@t-online.de>
---
 meta-gnome/recipes-gimp/gimp/gimp_3.0.2.bb | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

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'