Adding base64 encoded beacon data needs the base64 functions to be available
Fixes: b44d4290fe83 ("hostapd: add raw beacon report data to ubus notification")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
--- a/hostapd/Makefile
+++ b/hostapd/Makefile
-@@ -169,9 +169,21 @@ OBJS += ../src/eapol_auth/eapol_auth_sm.
+@@ -169,9 +169,22 @@ OBJS += ../src/eapol_auth/eapol_auth_sm.
ifdef CONFIG_UBUS
CFLAGS += -DUBUS_SUPPORT
-LIBS += -lubox -lubus
+LIBS += -lubus
+NEED_ULOOP:=y
++NEED_BASE64=y
+endif
+
+ifdef CONFIG_UCODE
--- a/hostapd/Makefile
+++ b/hostapd/Makefile
-@@ -1429,6 +1429,11 @@ ifdef CONFIG_NO_TKIP
+@@ -1430,6 +1430,11 @@ ifdef CONFIG_NO_TKIP
CFLAGS += -DCONFIG_NO_TKIP
endif