chg: remove termcap and use pkg-config for ncurses (@ZeroChaos-)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user