Branch: refs/heads/master Author: Jiří Techet techet@gmail.com Committer: GitHub noreply@github.com Date: Sun, 09 Jul 2023 20:00:49 UTC Commit: a0244a2a9071bf095b209b63cdccfa93b6fbb500 https://github.com/geany/geany-plugins/commit/a0244a2a9071bf095b209b63cdccfa...
Log Message: ----------- Merge pull request #1259 from techee/vimode_compile
vimode: Don't build the viw binary on Windows
Modified Paths: -------------- vimode/src/Makefile.am
Modified: vimode/src/Makefile.am 14 lines changed, 8 insertions(+), 6 deletions(-) =================================================================== @@ -3,8 +3,6 @@ plugin = vimode
geanyplugins_LTLIBRARIES = vimode.la
-noinst_PROGRAMS = viw - vi_srcs = \ vi.h \ vi.c \ @@ -42,19 +40,23 @@ vi_srcs = \ vimode_la_SOURCES = \ backends/backend-geany.c \ $(vi_srcs) - -viw_SOURCES = \ - backends/backend-viw.c \ - $(vi_srcs)
vimode_la_CPPFLAGS = $(AM_CPPFLAGS) \ -DG_LOG_DOMAIN="Vimode" vimode_la_CFLAGS = $(AM_CFLAGS) vimode_la_LIBADD = $(COMMONLIBS)
+if !MINGW +noinst_PROGRAMS = viw + +viw_SOURCES = \ + backends/backend-viw.c \ + $(vi_srcs) + viw_CPPFLAGS = $(AM_CPPFLAGS) \ -DG_LOG_DOMAIN="Vimode" viw_CFLAGS = $(AM_CFLAGS) viw_LDADD = $(COMMONLIBS) +endif
include $(top_srcdir)/build/cppcheck.mk
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
plugins-commits@lists.geany.org