From d2eb46c17338e8a66ca690fa57f636055b393b89 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Tue, 10 Mar 2015 22:12:19 +0100 Subject: [PATCH] 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 --- libite/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libite/Makefile b/libite/Makefile index 237f8ba7..9b99e7a5 100644 --- a/libite/Makefile +++ b/libite/Makefile @@ -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 \