Final patch for `make install' with --disable-shared
Andreas Jaeger
aj@arthur.rhein-neckar.de
Sun Mar 21 09:50:00 GMT 1999
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
More information about the Libc-hacker
mailing list