Explorar o código

Fix bug: tried to install non-existant shared libs.

Manuel Novoa III %!s(int64=25) %!d(string=hai) anos
pai
achega
75b012d74e
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      Makefile

+ 2 - 0
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))