summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2001-06-01 16:14:58 +0000
committerManuel Novoa III <mjn3@codepoet.org>2001-06-01 16:14:58 +0000
commit75b012d74e1c0be94d4ea16f4d74ad620fc7bb34 (patch)
tree45c98678c7629be7bcd4ec170be6b068eaf88bae /Makefile
parentfbaac3d4f36e5a3d63634c3a41137ade851060ac (diff)
Fix bug: tried to install non-existant shared libs.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 44eaa59be..7bae9fe77 100644
--- a/Makefile
+++ b/Makefile
@@ -169,8 +169,10 @@ endif
# in $(DEVEL_PREFIX)$(ROOT_DIR)/include. Probably true only if you're using
# a packaging system.
install_dev:
+ifeq ($(DO_SHARED),shared)
install -d $(DEVEL_PREFIX)$(ROOT_DIR)/lib
cp -fa lib/*.so* $(DEVEL_PREFIX)$(ROOT_DIR)/lib;
+endif
install -d $(DEVEL_PREFIX)$(ROOT_DIR)/usr/lib
cp -fa lib/*.[ao] $(DEVEL_PREFIX)$(ROOT_DIR)/usr/lib;
ifeq ($(LDSO_PRESENT), $(TARGET_ARCH))