diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | db/Makefile | 7 |
2 files changed, 10 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index 14b31b6ead..5290121456 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +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 diff --git a/db/Makefile b/db/Makefile index efe8b8feee..ac08e78859 100644 --- a/db/Makefile +++ b/db/Makefile @@ -29,8 +29,11 @@ distribute := compat.h \ 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 $@ |