From f35f64f06f9eadbbdb240260430cd70448265ea9 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 --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 237f8ba..9b99e7a 100644 --- a/Makefile +++ b/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 \