From b5cb528d7024b1028d5388ae89397b0a8455debe Mon Sep 17 00:00:00 2001 From: Vladimir Date: Tue, 19 Jul 2011 08:45:33 +0300 Subject: [PATCH] Fix hostapd_cli linking without CONFIG_WPA_TRACE=y --- hostapd/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hostapd/Makefile b/hostapd/Makefile index 3ed025dc3..d2b85af85 100644 --- a/hostapd/Makefile +++ b/hostapd/Makefile @@ -83,6 +83,7 @@ OBJS += ../src/utils/$(CONFIG_ELOOP).o OBJS_c += ../src/utils/$(CONFIG_ELOOP).o OBJS += ../src/utils/common.o OBJS += ../src/utils/wpa_debug.o +OBJS_c += ../src/utils/wpa_debug.o OBJS += ../src/utils/wpabuf.o OBJS += ../src/utils/os_$(CONFIG_OS).o OBJS += ../src/utils/ip_addr.o @@ -798,7 +799,6 @@ hostapd: $(BCHECK) $(OBJS) ifdef CONFIG_WPA_TRACE OBJS_c += ../src/utils/trace.o -OBJS_c += ../src/utils/wpa_debug.o endif hostapd_cli: $(OBJS_c) $(Q)$(CC) $(LDFLAGS) -o hostapd_cli $(OBJS_c) $(LIBS_c)