local-enable-ldconfig
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Wed, 5 Dec 2018 18:50:21 +0000 (18:50 +0000)
committerAurelien Jarno <aurel32@debian.org>
Wed, 5 Dec 2018 18:50:21 +0000 (18:50 +0000)
# DP: Description: Enable ldconfig and such on hurd-i386
# DP: Author: Jeff Bailey <jbailey@nisa.net>
# 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

elf/ldconfig.c
sysdeps/mach/hurd/configure
sysdeps/mach/hurd/configure.ac

index fbdd814edf59bc7725412c7548998e8435539e79..acce7c51e2b4e916e46cf313b0b2ffdd1028d3d1 100644 (file)
 
 #define PACKAGE _libc_intl_domainname
 
+#ifndef PATH_MAX
+#define PATH_MAX 1024
+#endif
+
 static const struct
 {
   const char *name;
index 66cc0ce3a53ebb42914d0510cadef13c7e98fb57..1bda0c5bedb45c02d854a3215b69feebd794866d 100644 (file)
@@ -47,3 +47,5 @@ if test -n "$sysheaders"; then
 fi
 
 libc_cv_ld_gnu_indirect_function=no
+
+use_ldconfig=yes
index 774ffc80a96c8791f084ca415d7ee11530b38bf1..ba4742aae47c5326d47fd6a04fa5ee5212405222 100644 (file)
@@ -30,3 +30,5 @@ fi
 dnl ifunc does not work yet for static binaries
 dnl http://www.gnu.org/software/hurd/open_issues/ifunc.html
 libc_cv_ld_gnu_indirect_function=no
+
+use_ldconfig=yes