b15dccd7d1ba8afb633a7148ce7d91e26591919e
[openwrt/staging/mkresin.git] /
1 From 79488da576aeeb9400e1742fab7f463eed0fa7a1 Mon Sep 17 00:00:00 2001
2 From: Jouni Malinen <j@w1.fi>
3 Date: Sat, 16 May 2020 21:07:45 +0300
4 Subject: [PATCH 3/3] wolfssl: Do not hardcode include directory in
5 wpa_supplicant build
6
7 This is not really appropriate for any kind of cross compilations and is
8 not really needed in general since system specific values can be set in
9 .config.
10
11 Signed-off-by: Jouni Malinen <j@w1.fi>
12 ---
13 wpa_supplicant/Makefile | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16 --- a/wpa_supplicant/Makefile
17 +++ b/wpa_supplicant/Makefile
18 @@ -1086,7 +1086,7 @@ endif
19
20 ifeq ($(CONFIG_TLS), wolfssl)
21 ifdef TLS_FUNCS
22 -CFLAGS += -DWOLFSSL_DER_LOAD -I/usr/local/include/wolfssl
23 +CFLAGS += -DWOLFSSL_DER_LOAD
24 OBJS += ../src/crypto/tls_wolfssl.o
25 endif
26 OBJS += ../src/crypto/crypto_wolfssl.o