hostapd: fix compile error in basic variant

Adding base64 encoded beacon data needs the base64 functions to be available

Fixes: b44d4290fe ("hostapd: add raw beacon report data to ubus notification")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau 2026-01-28 11:49:17 +00:00
parent e338446b6b
commit b7be541dcf
2 changed files with 3 additions and 2 deletions

View file

@ -106,7 +106,7 @@ as adding/removing interfaces.
--- 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
@ -115,6 +115,7 @@ as adding/removing interfaces.
-LIBS += -lubox -lubus
+LIBS += -lubus
+NEED_ULOOP:=y
+NEED_BASE64=y
+endif
+
+ifdef CONFIG_UCODE

View file

@ -39,7 +39,7 @@ Hotfix-by: Sebastian Gottschall https://github.com/mirror/dd-wrt/commit/0c3001a6
--- 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