mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-13 18:57:12 +08:00
client/Makefile: use brew libreadline on macOS
Make sure we use libreadline from brew and not the default macOS shipped one. Otherwise compilation fails for undefined rl_event_hook
This commit is contained in:
parent
107b3873fb
commit
94b782ee10
1 changed files with 2 additions and 0 deletions
|
@ -72,6 +72,8 @@ else
|
||||||
LUAPLATFORM = macosx
|
LUAPLATFORM = macosx
|
||||||
OBJCSRCS = util_darwin.m
|
OBJCSRCS = util_darwin.m
|
||||||
LDFLAGS += -framework Foundation -framework AppKit
|
LDFLAGS += -framework Foundation -framework AppKit
|
||||||
|
LDLIBS := -L/usr/local/opt/readline/lib $(LDLIBS)
|
||||||
|
LIBS := -I/usr/local/opt/readline/include $(LIBS)
|
||||||
else
|
else
|
||||||
LUALIB += -ldl
|
LUALIB += -ldl
|
||||||
LDLIBS += -ltermcap -lncurses
|
LDLIBS += -ltermcap -lncurses
|
||||||
|
|
Loading…
Reference in a new issue