From 75b012d74e1c0be94d4ea16f4d74ad620fc7bb34 Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Fri, 1 Jun 2001 16:14:58 +0000 Subject: Fix bug: tried to install non-existant shared libs. --- Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefile') 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)) -- cgit v1.2.3