Fix last part of issue #8: Libite install problem with --enable-static

Skip install of .so libs when user has configured with --enable-static

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson
2015-03-10 22:12:26 +01:00
parent 0d733ad234
commit d2eb46c173
+3 -1
View File
@@ -60,9 +60,11 @@ $(STATICLIB): Makefile $(OBJS)
install-exec: all
@install -d $(DESTDIR)$(libdir)
@printf " INSTALL $(DESTDIR)$(libdir)/$(SOLIB)\n"
@$(STRIPINST) $(SOLIB) $(DESTDIR)$(libdir)/$(SOLIB)
@$(STRIPINST) $(STATICLIB) $(DESTDIR)$(libdir)/$(STATICLIB)
ifeq ($(STATIC), 0)
@$(STRIPINST) $(SOLIB) $(DESTDIR)$(libdir)/$(SOLIB)
@ln -sf $(SOLIB) $(DESTDIR)$(libdir)/$(SYMLIB)
endif
install-dev:
@for file in $(HEADERS); do \