This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[PATCH] Makefile fix for ldconfig


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]