summaryrefslogtreecommitdiff
path: root/src/Make_cyg_ming.mak
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-07-19 11:28:17 +0200
committerBram Moolenaar <Bram@vim.org>2017-07-19 11:28:17 +0200
commit4fc63505d393451ad3780dc0390cb48587597aaf (patch)
treedf1f9cfc5fb7f912ea223b7580b4a213da2401ff /src/Make_cyg_ming.mak
parent8c0095c59a34ef74fb873036cfbf1aa90be449f3 (diff)
downloadvim-git-4fc63505d393451ad3780dc0390cb48587597aaf.tar.gz
patch 8.0.0731: cannot build the terminal feature on MS-Windowsv8.0.0731
Problem: Cannot build the terminal feature on MS-Windows. Solution: Add the Makefile changes. (Yasuhiro Matsumoto, closes #1851)
Diffstat (limited to 'src/Make_cyg_ming.mak')
-rw-r--r--src/Make_cyg_ming.mak9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Make_cyg_ming.mak b/src/Make_cyg_ming.mak
index b2927200a..95619c465 100644
--- a/src/Make_cyg_ming.mak
+++ b/src/Make_cyg_ming.mak
@@ -73,6 +73,7 @@ CHANNEL=yes
else
CHANNEL=$(GUI)
endif
+TERMINAL=no
# Link against the shared version of libstdc++ by default. Set
@@ -557,6 +558,10 @@ ifeq ($(CHANNEL),yes)
DEFINES += -DFEAT_JOB_CHANNEL
endif
+ifeq ($(TERMINAL),yes)
+DEFINES += -DFEAT_TERMINAL
+endif
+
# DirectWrite (DirectX)
ifeq ($(DIRECTX),yes)
# Only allow DirectWrite for a GUI build.
@@ -743,6 +748,10 @@ LIB += -L$(XPM)/lib -lXpm
endif
endif
+ifeq ($(TERMINAL),yes)
+OBJ += $(OUTDIR)/terminal.o
+endif
+
ifdef MZSCHEME
MZSCHEME_SUFFIX = Z