summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2019-11-16 21:27:06 +1100
committerMaxime Coste <mawww@kakoune.org>2021-07-12 10:25:58 +1000
commit7e66846172165eb1f860f26f51f7a20790b0af29 (patch)
treeaeb13540daae1309a7d4b0e923d30f51968012fe /contrib
parent3b4d2b63c67b66db436528c7935d3282872b59f1 (diff)
Rename NCursesUI to TerminalUI
Diffstat (limited to 'contrib')
-rw-r--r--contrib/Tupfile8
1 files changed, 1 insertions, 7 deletions
diff --git a/contrib/Tupfile b/contrib/Tupfile
index 9bed25ec..9b5b9e3e 100644
--- a/contrib/Tupfile
+++ b/contrib/Tupfile
@@ -37,17 +37,11 @@ ifeq ($(static),yes)
LDFLAGS += -static -pthread
endif
-ifeq (@(TUP_PLATFORM),macosx)
- LIBS += -lncurses
- CPPFLAGS += -I/usr/local/opt/ncurses/include
- LDFLAGS += -L/usr/local/opt/ncurses/lib
-else
+ifneq (@(TUP_PLATFORM),macosx)
ifeq (@(TUP_PLATFORM),win32)
LIBS += -lncursesw -ldbghelp
CPPFLAGS += -D_XOPEN_SOURCE=700
else
- LIBS += `pkg-config --libs ncursesw $(PKG_CONFIG_FLAGS)`
- CPPFLAGS += `pkg-config --cflags ncursesw $(PKG_CONFIG_FLAGS)`
LDFLAGS += -rdynamic
endif
endif