summaryrefslogtreecommitdiff
path: root/ACE/include/makeinclude/rules.lib.GNU
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/include/makeinclude/rules.lib.GNU')
-rw-r--r--ACE/include/makeinclude/rules.lib.GNU28
1 files changed, 15 insertions, 13 deletions
diff --git a/ACE/include/makeinclude/rules.lib.GNU b/ACE/include/makeinclude/rules.lib.GNU
index eb5c50946f7..94868ff0d87 100644
--- a/ACE/include/makeinclude/rules.lib.GNU
+++ b/ACE/include/makeinclude/rules.lib.GNU
@@ -119,20 +119,22 @@ ifdef ARCH
ARCHDIR = $(ARCH)/
endif
-ifdef static_libs
- LIB_INSTALL += $(VLIB:$(ARCHDIR)%=$(INSLIB)/%)
- CLEANUP_INSTALL += $(CLEANUP_VLIB:$(ARCHDIR)%=$(INSLIB)/%)
-endif # static_libs
+ifneq ($(INSLIB),)
+ ifdef static_libs
+ LIB_INSTALL += $(VLIB:$(ARCHDIR)%=$(INSLIB)/%)
+ CLEANUP_INSTALL += $(CLEANUP_VLIB:$(ARCHDIR)%=$(INSLIB)/%)
+ endif # static_libs
-ifdef shared_libs
- LIB_INSTALL += $(VSHLIB:$(ARCHDIR)%=$(INSLIB)/%)
- CLEANUP_INSTALL += $(CLEANUP_VSHLIB:$(ARCHDIR)%=$(INSLIB)/%)
- CLEANUP_INSTALL += $(CLEANUP_VSHLIB_NO_VER:$(ARCHDIR)%=$(INSLIB)/%*)
- ifdef SHLIBA
- LIB_INSTALL += $(VSHLIBA:$(ARCHDIR)%=$(INSLIB)/%)
- CLEANUP_INSTALL += $(CLEANUP_SHLIBA:$(ARCHDIR)%=$(INSLIB)/%)
- endif
-endif # shared_libs
+ ifdef shared_libs
+ LIB_INSTALL += $(VSHLIB:$(ARCHDIR)%=$(INSLIB)/%)
+ CLEANUP_INSTALL += $(CLEANUP_VSHLIB:$(ARCHDIR)%=$(INSLIB)/%)
+ CLEANUP_INSTALL += $(CLEANUP_VSHLIB_NO_VER:$(ARCHDIR)%=$(INSLIB)/%*)
+ ifdef SHLIBA
+ LIB_INSTALL += $(VSHLIBA:$(ARCHDIR)%=$(INSLIB)/%)
+ CLEANUP_INSTALL += $(CLEANUP_SHLIBA:$(ARCHDIR)%=$(INSLIB)/%)
+ endif
+ endif # shared_libs
+endif # INSLIB
ace_lib_prelink ?= 0
aix_build ?= 0