]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
wpa_supplicant/Makefile: Fix libwpa_client build
authorJörg Krause <joerg.krause@embedded.rocks>
Thu, 29 Oct 2015 10:52:52 +0000 (11:52 +0100)
committerJouni Malinen <j@w1.fi>
Sat, 31 Oct 2015 17:15:37 +0000 (19:15 +0200)
Building libwpa_client requires src/utils/common.c for bin_clear_free()
else loading the library fails with:

Error relocating /usr/lib/libwpa_client.so: bin_clear_free: symbol not found

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
wpa_supplicant/Makefile

index 61f8f1870a9723596385bc1d1185064fdde38871..ad7dd8da23a2692f90019194443d7c0208d51488 100644 (file)
@@ -1706,9 +1706,11 @@ wpa_cli: $(OBJS_c)
 
 LIBCTRL += ../src/common/wpa_ctrl.o
 LIBCTRL += ../src/utils/os_$(CONFIG_OS).o
+LIBCTRL += ../src/utils/common.o
 LIBCTRL += ../src/utils/wpa_debug.o
 LIBCTRLSO += ../src/common/wpa_ctrl.c
 LIBCTRLSO += ../src/utils/os_$(CONFIG_OS).c
+LIBCTRLSO += ../src/utils/common.c
 LIBCTRLSO += ../src/utils/wpa_debug.c
 
 libwpa_client.a: $(LIBCTRL)