package/dhcp/S80dhcp-server: allow empty INTERFACES
[buildroot-gz.git] / package / wpa_supplicant / 0001-fix-readline-libs-ordering.patch
blob2a9b83279727246cffefb5f49da7d8ccc529e685
1 commit 631f0893038743cebd2def39df61aceb48bd43a9
2 Author: David du Colombier <0intro@gmail.com>
3 Date: Sun Sep 13 23:40:43 2015 +0200
5 wpa_supplicant: fix static link with readline
7 The readline library depends on ncurses, so
8 it should be set before ncurses on the linker
9 command line to be able to be statically linked
10 successfully.
12 Signed-off-by: David du Colombier <0intro@gmail.com>
14 diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile
15 index 1597412..581db02 100644
16 --- a/wpa_supplicant/Makefile
17 +++ b/wpa_supplicant/Makefile
18 @@ -1408,7 +1408,7 @@ LIBS += $(DBUS_LIBS)
20 ifdef CONFIG_READLINE
21 OBJS_c += ../src/utils/edit_readline.o
22 -LIBS_c += -lncurses -lreadline
23 +LIBS_c += -lreadline -lncurses
24 else
25 ifdef CONFIG_WPA_CLI_EDIT
26 OBJS_c += ../src/utils/edit.o