[PATCH] Makefile fix for ldconfig
Jakub Jelinek
jakub@redhat.com
Mon Apr 17 14:07:00 GMT 2000
Hi!
When doing make install with non-empty install_root, ldconfig fails because
it chroots into install_root and then tries to look up slibdir and libdir
with install_root prefix.
2000-04-17 Jakub Jelinek <jakub@redhat.com>
* Makefile (install): Use slibdir and libdir instead of inst_slibdir
and inst_libdir.
--- libc/Makefile.jj Mon Apr 17 22:47:49 2000
+++ libc/Makefile Mon Apr 17 22:56:42 2000
@@ -107,7 +107,7 @@ install-symbolic-link: subdir_install
install:
-test ! -x $(common-objpfx)elf/ldconfig || \
$(common-objpfx)elf/ldconfig $(addprefix -r ,$(install_root)) \
- $(inst_slibdir) $(inst_libdir)
+ $(slibdir) $(libdir)
ifneq (no,$(PERL))
ifeq (/usr,$(prefix))
ifeq (,$(install_root))
Jakub
More information about the Libc-hacker
mailing list