OSDN Git Service

Fix bug: tried to install non-existant shared libs.
authorManuel Novoa III <mjn3@codepoet.org>
Fri, 1 Jun 2001 16:14:58 +0000 (16:14 -0000)
committerManuel Novoa III <mjn3@codepoet.org>
Fri, 1 Jun 2001 16:14:58 +0000 (16:14 -0000)
Makefile

index 44eaa59..7bae9fe 100644 (file)
--- 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))