From: GNU Libc Maintainers Date: Sun, 25 Dec 2022 18:42:32 +0000 (+0000) Subject: local-enable-ldconfig X-Git-Tag: archive/raspbian/2.36-7+rpi1^2~63 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1af6e9f238ced4de98167b4383350467e621c20a;p=glibc.git local-enable-ldconfig # DP: Description: Enable ldconfig and such on hurd-i386 # DP: Author: Jeff Bailey # DP: Related Bugs: #309489 # DP: Upstream status: Not submitted # DP: Status Details: Upstream disagrees with this patch, but I'm # DP: putting it in so that we have expected Debian behaviour on the # DP: Hurd. We should review this when the ELF standard supports runpath. # DP: Date: 08 Apr 2003 # DP: Description: Enable ldconfig and such on hurd-i386 # DP: Author: Jeff Bailey # DP: Related Bugs: #309489 # DP: Upstream status: Not submitted # DP: Status Details: Upstream disagrees with this patch, but I'm # DP: putting it in so that we have expected Debian behaviour on the # DP: Hurd. We should review this when the ELF standard supports runpath. # DP: Date: 08 Apr 2003 Gbp-Pq: Topic hurd-i386 Gbp-Pq: Name local-enable-ldconfig.diff --- diff --git a/elf/ldconfig.c b/elf/ldconfig.c index 9394ac643..dd27ebcef 100644 --- a/elf/ldconfig.c +++ b/elf/ldconfig.c @@ -65,6 +65,10 @@ #define PACKAGE _libc_intl_domainname +#ifndef PATH_MAX +#define PATH_MAX 1024 +#endif + static const struct { const char *name; diff --git a/sysdeps/mach/hurd/configure b/sysdeps/mach/hurd/configure index 8d0702ad4..22af5c688 100644 --- a/sysdeps/mach/hurd/configure +++ b/sysdeps/mach/hurd/configure @@ -49,3 +49,5 @@ fi # Hurd has libpthread as a separate library. pthread_in_libc=no + +use_ldconfig=yes diff --git a/sysdeps/mach/hurd/configure.ac b/sysdeps/mach/hurd/configure.ac index 82d085af3..72df4f7ff 100644 --- a/sysdeps/mach/hurd/configure.ac +++ b/sysdeps/mach/hurd/configure.ac @@ -29,3 +29,5 @@ fi # Hurd has libpthread as a separate library. pthread_in_libc=no + +use_ldconfig=yes