diff --git a/hostapd/Makefile b/hostapd/Makefile index e46561e70..75767aee7 100644 --- a/hostapd/Makefile +++ b/hostapd/Makefile @@ -678,6 +678,7 @@ endif endif ifdef NEED_SHA256 +CFLAGS += -DCONFIG_SHA256 OBJS += ../src/crypto/sha256.o ifdef CONFIG_INTERNAL_SHA256 OBJS += ../src/crypto/sha256-internal.o