]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
eapol_test: Add paths for Brew on OSX/M1 (#4757)
authorJorge Pereira <jpereira@users.noreply.github.com>
Thu, 6 Oct 2022 17:45:37 +0000 (14:45 -0300)
committerGitHub <noreply@github.com>
Thu, 6 Oct 2022 17:45:37 +0000 (13:45 -0400)
Needed for the Brew running on OSX/M1 due to the new base path is in /opt/homebrew
as described on https://earthly.dev/blog/homebrew-on-m1/

scripts/ci/eapol_test/config_osx

index 53ba5a61d4df96e412effa3668d54d61663e3165..75cb0cd3f12bc38e714bad7974c6a3dee01166e8 100644 (file)
@@ -12,8 +12,8 @@
 CFLAGS += -g3 -O0 -Wno-unknown-warning-option -Wno-error=deprecated-declarations -Wno-error=void-pointer-to-enum-cast
 
 # Use OpenSSL 1.1 for now as eapol_test doesn't support 3.0.0 (as of master HEAD 2/10/2021)
-CFLAGS += -I/usr/local/opt/openssl@1.1/include
-LIBS += -L/usr/local/opt/openssl@1.1/lib
+CFLAGS += -I/usr/local/opt/openssl@1.1/include -I/opt/homebrew/opt/openssl@1.1/include
+LIBS += -L/usr/local/opt/openssl@1.1/lib -L/opt/homebrew/opt/openssl@1.1/lib
 
 # Some Red Hat versions seem to include kerberos header files from OpenSSL, but
 # the kerberos files are not in the default include path. Following line can be