mirror of
https://github.com/troglobit/finit.git
synced 2026-10-02 05:52:48 +07:00
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:
+3
-1
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user