From: GNU Libc Maintainers Date: Mon, 13 Jul 2020 19:34:17 +0000 (+0100) Subject: local-enable-ldconfig X-Git-Tag: archive/raspbian/2.31-1+rpi1^2~93 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=83871f3c0fa4b6e14ba058356294c69531c8614e;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 681ed7849..03a8d5033 100644 --- a/elf/ldconfig.c +++ b/elf/ldconfig.c @@ -59,6 +59,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 66cc0ce3a..1bda0c5be 100644 --- a/sysdeps/mach/hurd/configure +++ b/sysdeps/mach/hurd/configure @@ -47,3 +47,5 @@ if test -n "$sysheaders"; then fi libc_cv_ld_gnu_indirect_function=no + +use_ldconfig=yes diff --git a/sysdeps/mach/hurd/configure.ac b/sysdeps/mach/hurd/configure.ac index a294dd5ea..023d50d30 100644 --- a/sysdeps/mach/hurd/configure.ac +++ b/sysdeps/mach/hurd/configure.ac @@ -30,3 +30,5 @@ fi dnl ifunc does not work yet for static binaries dnl https://www.gnu.org/software/hurd/open_issues/ifunc.html libc_cv_ld_gnu_indirect_function=no + +use_ldconfig=yes