Merge pull request #187 from uhei/macos-readline

client/Makefile: use brew libreadline on macOS
This commit is contained in:
Philippe Teuwen 2019-05-10 19:07:03 +02:00 committed by GitHub
commit b6b20e246c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -72,6 +72,8 @@ else
LUAPLATFORM = macosx
OBJCSRCS = util_darwin.m
LDFLAGS += -framework Foundation -framework AppKit
LDLIBS := -L/usr/local/opt/readline/lib $(LDLIBS)
LIBS := -I/usr/local/opt/readline/include $(LIBS)
else
LUALIB += -ldl
LDLIBS += -ltermcap -lncurses