andreas pushed a commit to branch core-packages-team in repository guix. commit 8f3169e84fe9a659a0f0e4b3b3ee4bfe7aad3def Author: Efraim Flashner <efr...@flashner.co.il> AuthorDate: Tue Dec 10 17:00:19 2024 +0200
gnu: bootstrap: %bootstrap-glibc: Fix linking on armhf-linux. * gnu/packages/bootstrap.scm (%bootstrap-glibc)[arguments]: When building for armhf-linux remove a reference to a non-existent library. Change-Id: I587ba7a40eb05b354e4a11d07e9f4313108e43d1 --- gnu/packages/bootstrap.scm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gnu/packages/bootstrap.scm b/gnu/packages/bootstrap.scm index cc235abce4..b8a38aab5c 100644 --- a/gnu/packages/bootstrap.scm +++ b/gnu/packages/bootstrap.scm @@ -785,8 +785,12 @@ $out/bin/guile --version~%" ''("lib/libc.so" "lib/libpthread.so")) (else ''("lib/libc.so"))) - (("/[^ ]+/lib/(libc|libm|libh|libpthread|ld)" _ prefix) - (string-append out "/lib/" prefix))))))))) + (("/[^ ]+/lib/(libc|libh|libm|libpthread|ld)" _ prefix) + (string-append out "/lib/" prefix)) + ,@(if (target-arm32?) + `((substitute* "lib/libpthread.so" + (("/[^ ]+/lib/libpthread_nonshared\\.a") ""))) + `())))))))) (inputs `(("tar" ,(bootstrap-executable "tar" (%current-system))) ("xz" ,(bootstrap-executable "xz" (%current-system)))