about summary refs log tree commit diff
path: root/sysdeps/mach/hurd
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2020-11-13 19:37:41 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-11-16 21:15:20 +0000
commit3dbbd2ff92b1a0a2465461ee049e3e2813b73fa4 (patch)
treeeeb38010eb00265c4899cc127f90bbc3e52a89ac /sysdeps/mach/hurd
parent1daccf403b1bd86370eb94edca794dc106d02039 (diff)
downloadglibc-3dbbd2ff92b1a0a2465461ee049e3e2813b73fa4.tar.gz
glibc-3dbbd2ff92b1a0a2465461ee049e3e2813b73fa4.tar.xz
glibc-3dbbd2ff92b1a0a2465461ee049e3e2813b73fa4.zip
Add {,sysdep-}ld-library-path make variable
On GNU/Hurd we not only need $(common-objpfx) in LD_LIBRARY_PATH when loading
dynamic objects, but also $(common-objpfx)/mach and $(common-objpfx)/hurd. This
adds an ld-library-path variable to be used as LD_LIBRARY_PATH basis in
Makefiles, and a sysdep-ld-library-path variable for sysdeps to add some
more paths, here mach/ and hurd/.
Diffstat (limited to 'sysdeps/mach/hurd')
-rw-r--r--sysdeps/mach/hurd/Makeconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/Makeconfig b/sysdeps/mach/hurd/Makeconfig
index fe3b7c553e..9adf8f291d 100644
--- a/sysdeps/mach/hurd/Makeconfig
+++ b/sysdeps/mach/hurd/Makeconfig
@@ -5,3 +5,5 @@ static-start-installed-name = crt0.o
 
 # GNU libc on the Hurd is always reentrant.
 libc-reentrant = yes
+
+sysdep-ld-library-path = $(common-objpfx)/mach:$(common-objpfx)/hurd