chg: remove termcap and use pkg-config for ncurses (@ZeroChaos-)

This commit is contained in:
iceman1001 2019-08-29 16:56:22 +02:00
parent f3a63767ed
commit 6529c9616f

View file

@ -90,7 +90,7 @@ else
LIBS := -I/usr/local/opt/readline/include $(LIBS) LIBS := -I/usr/local/opt/readline/include $(LIBS)
else else
LUALIB += -ldl LUALIB += -ldl
LDLIBS += -ltermcap -lncurses LDLIBS += $(shell pkg-config --libs ncurses 2>/dev/null)
LUAPLATFORM = linux LUAPLATFORM = linux
endif endif
endif endif