From 8703b089ef97563b922d28d7c4327e8ee8113d35 Mon Sep 17 00:00:00 2001 From: vxtls <187420201+vxtls@users.noreply.github.com> Date: Sun, 22 Feb 2026 18:30:27 -0500 Subject: [PATCH] fix(elfutils): resolve libdw transitive fts/obstack linkage in src_compile via rpath-link and explicit LIBS --- steps-guix/elfutils-0.194/pass1.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/steps-guix/elfutils-0.194/pass1.sh b/steps-guix/elfutils-0.194/pass1.sh index 49699968..15027a4b 100644 --- a/steps-guix/elfutils-0.194/pass1.sh +++ b/steps-guix/elfutils-0.194/pass1.sh @@ -38,7 +38,10 @@ src_configure() { } src_compile() { - default_src_compile + LD_LIBRARY_PATH="${KERNEL_SYSROOT}/lib:${LD_LIBRARY_PATH}" \ + make "${MAKEJOBS}" \ + LDFLAGS="-L${KERNEL_SYSROOT}/lib -Wl,-rpath-link,${KERNEL_SYSROOT}/lib" \ + LIBS="-lfts -lobstack -largp" } src_install() {