diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile index 65adf5344..73d3aa5d4 100644 --- a/wpa_supplicant/Makefile +++ b/wpa_supplicant/Makefile @@ -1022,7 +1022,10 @@ OBJS_wpa += tests/link_test.o endif OBJS_wpa += $(OBJS_l2) OBJS += wpa_supplicant.o events.o blacklist.o wpas_glue.o scan.o -OBJS_t := $(OBJS) $(OBJS_l2) eapol_test.o ../src/radius/radius.o ../src/radius/radius_client.o +OBJS_t := $(OBJS) $(OBJS_l2) eapol_test.o ../src/radius/radius_client.o +ifndef CONFIG_IBSS_RSN +OBJS_t += ../src/radius/radius.o +endif OBJS_t += ../src/utils/ip_addr.o OBJS_t2 := $(OBJS) $(OBJS_l2) preauth_test.o OBJS += $(CONFIG_MAIN).o