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 summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2017-03-08list-runtime-roots: Bufferize the lsof pipe....* nix/scripts/list-runtime-roots.in (lsof-roots): Add 'setvbuf' call for PIPE. Ludovic Courtès
2014-05-16list-runtime-roots: Don't display a backtrace on 2.0.5 when lsof is lacking....* nix/scripts/list-runtime-roots.in (lsof-roots): Fix typo in 'catch' tag. Add 'parent' variable. Wrap 'open-pipe*' call in 'catch'. Reported by Andreas Enge <andreas@enge.fr>. Ludovic Courtès
2013-10-29list-runtime-roots: List files referenced by environment variables....Inspired by <https://github.com/NixOS/nix/compare/772b70952f75...4ddd077bfa9a>. * nix/scripts/list-runtime-roots.in (%store-directory): New variable. (proc-environ-roots): New procedure. (<top-level>): Use it. Ludovic Courtès