091-0003-wolfssl-Do-not-hardcode-include-directory-in-wpa_sup.patch 818 B

1234567891011121314151617181920212223242526
  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. This is not really appropriate for any kind of cross compilations and is
  7. not really needed in general since system specific values can be set in
  8. .config.
  9. Signed-off-by: Jouni Malinen <j@w1.fi>
  10. ---
  11. wpa_supplicant/Makefile | 2 +-
  12. 1 file changed, 1 insertion(+), 1 deletion(-)
  13. --- a/wpa_supplicant/Makefile
  14. +++ b/wpa_supplicant/Makefile
  15. @@ -1086,7 +1086,7 @@ endif
  16. ifeq ($(CONFIG_TLS), wolfssl)
  17. ifdef TLS_FUNCS
  18. -CFLAGS += -DWOLFSSL_DER_LOAD -I/usr/local/include/wolfssl
  19. +CFLAGS += -DWOLFSSL_DER_LOAD
  20. OBJS += ../src/crypto/tls_wolfssl.o
  21. endif
  22. OBJS += ../src/crypto/crypto_wolfssl.o