All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-gnome][PATCH] gimp: Add libexecinfo to linker flags
@ 2025-03-28  4:47 Khem Raj
  0 siblings, 0 replies; only message in thread
From: Khem Raj @ 2025-03-28  4:47 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Khem Raj, Markus Volk

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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2025-03-28  4:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-28  4:47 [meta-gnome][PATCH] gimp: Add libexecinfo to linker flags Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.