mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-13 10:43:01 +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
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue