This fixes linking libfstest/test-fcntl (and others). As discussed with upstream: https://lists.gnu.org/archive/html/bug-hurd/2020-03/msg00018.html From 96a9f67a8685e713f25259c18306797d54cc27a5 Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Sat, 14 Mar 2020 11:28:31 +0100 Subject: [PATCH] build: Fix cross build on Guix. As discussed in https://lists.gnu.org/archive/html/bug-hurd/2020-03/msg00018.html. * Makeconf (lpath): Add -Wl,-rpath-link= next to -L. --- Makeconf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makeconf b/Makeconf index 67f7ab1c..f68ff6e3 100644 --- a/Makeconf +++ b/Makeconf @@ -325,7 +325,8 @@ _libsubst=${libsubst$(patsubst %,-override,${libsubst-override})} # Direct the linker where to find shared objects specified in the # dependencies of other shared objects it encounters. -lpath := -L. $(patsubst %,-L%,$(dir $(wildcard ../lib*/lib*.so))) +lib_dirs := $(dir $(wildcard ../lib*/lib*.so)) +lpath := -L. $(lib_dirs:%=-L%) $(lib_dirs:%=-Wl,-rpath-link=%) # Main rule to link executables # -- 2.24.0 a href='/guix/about/'>aboutsummaryrefslogtreecommitdiff
s
AgeCommit message (Collapse)Author
2020-08-16gnu: lftp: Update to 4.9.2.Tobias Geerinckx-Rice
* gnu/packages/ftp.scm (lftp): Update to 4.9.2.
2020-03-14gnu: ncftp: Use HTTPS home page.Tobias Geerinckx-Rice
* gnu/packages/ftp.scm (ncftp)[home-page]: Use HTTPS.
2021-02-07guile: Do not install Guile/libgc allocators for GMP....Fixes <https://bugs.gnu.org/46330>. * gnu/packages/aux-files/guile-launcher.c (main): Clear 'scm_install_gmp_memory_functions'. Ludovic Courtès
2020-12-11guix: 'guile' executable ignores GUILE_LOAD_PATH during startup....When starting the 'guix' command, this ensures Guile modules are immediately found instead of being search for in other directories. This reduces the number of 'stat' calls during startup when GUILE_LOAD_PATH is set to (almost) that of "env -i $(type -P guix)". * gnu/packages/aux-files/guile-launcher.c (load_path) (load_compiled_path): New variables. (inner_main): Restore GUILE_LOAD_PATH and GUILE_LOAD_COMPILED_PATH and set %load-path and %load-compiled-path accordingly. (main): Save GUILE_LOAD_PATH and GUILE_LOAD_COMPILED_PATH and unset them. Ludovic Courtès