]> 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>
Sat, 4 May 2013 18:07:11 +0000 (14:07 -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 51ff5ca28e11dfb7197b241140c4a86c8f908611..0c5e32f01702584817a723bfeff007939081a752 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)