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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue