aboutsummaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>1999-03-22 01:14:47 +0000
committerAndreas Schwab <schwab@suse.de>1999-03-22 01:14:47 +0000
commit19b54427b2d1e3962ef0b8303932c09f53a1dc20 (patch)
tree0cc689effe18b8d6bb8b300b5e91f9fa4fa33805 /db
parentdf455ccb63266939408fba27120a7bbdee3457e9 (diff)
downloadglibc-19b54427b2d1e3962ef0b8303932c09f53a1dc20.zip
glibc-19b54427b2d1e3962ef0b8303932c09f53a1dc20.tar.gz
glibc-19b54427b2d1e3962ef0b8303932c09f53a1dc20.tar.bz2
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.
Diffstat (limited to 'db')
-rw-r--r--db/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/db/Makefile b/db/Makefile
index efe8b8f..ac08e78 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 $@