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)
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user