diff src/Make_cyg_ming.mak @ 11696:0a6136dfce35 v8.0.0731

patch 8.0.0731: cannot build the terminal feature on MS-Windows commit https://github.com/vim/vim/commit/4fc63505d393451ad3780dc0390cb48587597aaf Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jul 19 11:28:17 2017 +0200 patch 8.0.0731: cannot build the terminal feature on MS-Windows Problem: Cannot build the terminal feature on MS-Windows. Solution: Add the Makefile changes. (Yasuhiro Matsumoto, closes https://github.com/vim/vim/issues/1851)
author Christian Brabandt <cb@256bit.org>
date Wed, 19 Jul 2017 11:30:03 +0200
parents 70680eba1940
children 13ecb3e64399
line wrap: on
line diff
--- 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