From 6529c9616fbb238feb2513eae817c747501d5507 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Thu, 29 Aug 2019 16:56:22 +0200 Subject: [PATCH] chg: remove termcap and use pkg-config for ncurses (@ZeroChaos-) --- client/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/Makefile b/client/Makefile index fc7fa520b..1ca87678a 100644 --- a/client/Makefile +++ b/client/Makefile @@ -90,7 +90,7 @@ else LIBS := -I/usr/local/opt/readline/include $(LIBS) else LUALIB += -ldl - LDLIBS += -ltermcap -lncurses + LDLIBS += $(shell pkg-config --libs ncurses 2>/dev/null) LUAPLATFORM = linux endif endif