mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-20 02:53:03 -05:00
wpa_cli: Fix static linking with readline
The readline library depends on ncurses, so it should be set before ncurses on the linker command line to be able to be statically linked successfully. Signed-off-by: David du Colombier <0intro@gmail.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
This commit is contained in:
parent
242339ded1
commit
33bce0e732
@ -1412,7 +1412,7 @@ LIBS += $(DBUS_LIBS)
|
||||
|
||||
ifdef CONFIG_READLINE
|
||||
OBJS_c += ../src/utils/edit_readline.o
|
||||
LIBS_c += -lncurses -lreadline
|
||||
LIBS_c += -lreadline -lncurses
|
||||
else
|
||||
ifdef CONFIG_WPA_CLI_EDIT
|
||||
OBJS_c += ../src/utils/edit.o
|
||||
|
Loading…
x
Reference in New Issue
Block a user