summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2020-11-11 07:36:44 +1100
committerMaxime Coste <mawww@kakoune.org>2020-11-11 07:36:44 +1100
commitb09a0f5779a88ee6523dcd517bc78bf5d600f5ae (patch)
treea7dca78b74728a6da16adc16cca026914db979db /src
parentb30368506bf5e312d21f5079993b57cd40e9404d (diff)
parent4a59db1bd1cb39e7fde0d9a37eccf184042b457b (diff)
Merge remote-tracking branch '6112/msys2-wcwidth' into master
Diffstat (limited to 'src')
-rw-r--r--src/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 3c791120..e292af60 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -77,7 +77,8 @@ else ifeq ($(os),OpenBSD)
CPPFLAGS += -D'KAK_BIN_PATH="$(bindir)/kak"' -I/usr/local/include
LDFLAGS += -L/usr/local/lib
mandir := $(DESTDIR)$(PREFIX)/man/man1
-else ifneq (,$(findstring CYGWIN,$(os)))
+else ifneq (,$(findstring _NT,$(os)))
+ # Both Cygwin and MSYS2 have "_NT" in their uname.
CPPFLAGS += -D_XOPEN_SOURCE=700
LIBS += -lncursesw -ldbghelp
else ifeq ($(os),SunOS)