mirror of
https://github.com/troglobit/libite.git
synced 2026-10-28 12:20:45 +00: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:
1 parent
8b7eb36d2a
commit
f35f64f06f
1 file changed
+3
-1
@@ -60,9 +60,11 @@ $(STATICLIB): Makefile $(OBJS)
|
|||||||
install-exec: all
|
install-exec: all
|
||||||
@install -d $(DESTDIR)$(libdir)
|
@install -d $(DESTDIR)$(libdir)
|
||||||
@printf " INSTALL $(DESTDIR)$(libdir)/$(SOLIB)\n"
|
@printf " INSTALL $(DESTDIR)$(libdir)/$(SOLIB)\n"
|
||||||
@$(STRIPINST) $(SOLIB) $(DESTDIR)$(libdir)/$(SOLIB)
|
|
||||||
@$(STRIPINST) $(STATICLIB) $(DESTDIR)$(libdir)/$(STATICLIB)
|
@$(STRIPINST) $(STATICLIB) $(DESTDIR)$(libdir)/$(STATICLIB)
|
||||||
|
ifeq ($(STATIC), 0)
|
||||||
|
@$(STRIPINST) $(SOLIB) $(DESTDIR)$(libdir)/$(SOLIB)
|
||||||
@ln -sf $(SOLIB) $(DESTDIR)$(libdir)/$(SYMLIB)
|
@ln -sf $(SOLIB) $(DESTDIR)$(libdir)/$(SYMLIB)
|
||||||
|
endif
|
||||||
|
|
||||||
install-dev:
|
install-dev:
|
||||||
@for file in $(HEADERS); do \
|
@for file in $(HEADERS); do \
|
||||||
|
|||||||
Reference in new issue
Block a user