* db/Makefile: Don't try to install shared library link if not
building with shared libs.
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.
+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.
+
1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* rt/Makefile: Link against static library if no shared lib is
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 $@