This is the mail archive of the mailing list for the glibc project.

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

ldconfig is not needed with --disable-shared

Alan reported a problem to me about ldconfig not building when no
shared libraries are build (configure --disable-shared).  The problem
is that in this case gnu/lib-names.h is not build - and it's needed
for readelf.c.  Since we don't need ldconfig when we don't have shared
libs, I've decided not to build ldconfig at all in this case.

I'll commit later the appended patch to fix the problem.


2000-06-07  Andreas Jaeger  <>

	* elf/Makefile: Build ldconfig only when building shared

Index: elf/Makefile
--- elf/Makefile	2000/05/30 20:33:28	1.151
+++ elf/Makefile	2000/06/07 10:02:29
@@ -67,6 +67,7 @@
 install-rootsbin = sln
 ifeq (yes,$(use-ldconfig))
+ifeq (yes,$(build-shared))
 others-static	+= ldconfig
 others		+= ldconfig
 install-rootsbin += ldconfig
@@ -77,6 +78,7 @@
 # To find xmalloc.c and xstrdup.c
 vpath %.c ../locale/programs
 ifeq (yes,$(build-shared))

 Andreas Jaeger
  SuSE Labs

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