]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
disable ldconfig during install
authorMike Frysinger <vapier@gentoo.org>
Sat, 4 May 2013 18:07:11 +0000 (14:07 -0400)
committerMike Frysinger <vapier@gentoo.org>
Wed, 5 Aug 2015 10:17:11 +0000 (06:17 -0400)
do not bother running ldconfig on DESTDIR.  it wants to write the temp cache
file outside of the chroot.  doesnt matter anyways as we wont use the cache
results (portage will rebuild cache), so running ldconfig is simply a waste
of time.

http://sourceware.org/ml/libc-alpha/2012-08/msg00118.html
https://bugs.gentoo.org/431038

Makefile

index 658ccfa037fc7a750fe0cc44867a7d8d95942f13..37888671bbf740dca47d1fb7b8d414790aa75050 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -105,6 +105,7 @@ install-symbolic-link: subdir_install
        rm -f $(symbolic-link-list)
 
 install:
+dont-bother-with-destdir:
        -test ! -x $(elf-objpfx)ldconfig || LC_ALL=C \
          $(elf-objpfx)ldconfig $(addprefix -r ,$(install_root)) \
                                $(slibdir) $(libdir)