This is the mail archive of the libc-hacker@cygnus.com 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]

Final patch for `make install' with --disable-shared



There's only one patch neccessary for `make install' to get
--disable-shared working.

Now everything should be fine,
Andreas

1999-03-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* db/Makefile: Don't try to install shared library link if not
	building with shared libs.

--- db/Makefile.~1~	Thu Oct 22 07:36:55 1998
+++ db/Makefile	Sun Mar 21 18:06:37 1999
@@ -29,8 +29,11 @@
 
 include ../Makeconfig
 
-install-others	:= $(inst_slibdir)/libdb.so$(libdb1.so-version) \
-		   $(db1-headers:%=$(inst_includedir)/db1/%)
+install-others	:= $(db1-headers:%=$(inst_includedir)/db1/%)
+
+ifeq (yes,$(build-shared))
+install-others	+= $(inst_slibdir)/libdb.so$(libdb1.so-version)
+endif
 
 $(inst_slibdir)/libdb.so$(libdb1.so-version): $(inst_slibdir)/libdb1-$(version).so $(+force)
 	rm -f $@

-- 
 Andreas Jaeger   aj@arthur.rhein-neckar.de    jaeger@informatik.uni-kl.de
  for pgp-key finger ajaeger@aixd1.rhrk.uni-kl.de


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