This is the mail archive of the
libc-hacker@cygnus.com
mailing list for the glibc project.
Final patch for `make install' with --disable-shared
- To: libc-hacker@cygnus.com
- Subject: Final patch for `make install' with --disable-shared
- From: Andreas Jaeger <aj@arthur.rhein-neckar.de>
- Date: 21 Mar 1999 18:44:10 +0100
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