local-enable-ldconfig
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Fri, 26 Jan 2018 22:35:29 +0000 (22:35 +0000)
committerAurelien Jarno <aurel32@debian.org>
Fri, 26 Jan 2018 22:35:29 +0000 (22:35 +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 99caf9e9bb9ff20eac07fc45b28c16d1958aec38..d0909e603381b73ba9bd3a196185c3611950233a 100644 (file)
 
 #define PACKAGE _libc_intl_domainname
 
+#ifndef PATH_MAX
+#define PATH_MAX 1024
+#endif
+
 static const struct
 {
   const char *name;
index 163b5c773095cbd4aa797634d55bd9e9b226dc07..551094fd88e3859de24971b3f76bf0377cdf76dc 100644 (file)
@@ -47,3 +47,5 @@ if test -n "$sysheaders"; then
 fi
 
 libc_cv_ld_gnu_indirect_function=no
+
+use_ldconfig=yes
index 5539a8c8aff13a0d7ebc7f9d7b8aa23050d3e249..c61a5271ae266fba6741522dd1760491b56d88e9 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