From: Jouni Malinen Date: Sat, 16 May 2020 18:07:45 +0000 (+0300) Subject: wolfssl: Do not hardcode include directory in wpa_supplicant build X-Git-Tag: hostap_2_10~1295 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79488da576aeeb9400e1742fab7f463eed0fa7a1;p=thirdparty%2Fhostap.git wolfssl: Do not hardcode include directory in wpa_supplicant build This is not really appropriate for any kind of cross compilations and is not really needed in general since system specific values can be set in .config. Signed-off-by: Jouni Malinen --- diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile index e15694821..f4878807d 100644 --- a/wpa_supplicant/Makefile +++ b/wpa_supplicant/Makefile @@ -1077,7 +1077,7 @@ endif ifeq ($(CONFIG_TLS), wolfssl) ifdef TLS_FUNCS -CFLAGS += -DWOLFSSL_DER_LOAD -I/usr/local/include/wolfssl +CFLAGS += -DWOLFSSL_DER_LOAD OBJS += ../src/crypto/tls_wolfssl.o endif OBJS += ../src/crypto/crypto_wolfssl.o