From 6cea78c618fce56259fe161fc32acb24d31ee983 Mon Sep 17 00:00:00 2001 From: arvidn Date: Wed, 14 Apr 2021 07:54:01 +0200 Subject: [PATCH] support finding openssl form homebrew on M1 Macs homebrew changed its default installation paths for M1 Macs --- Jamfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jamfile b/Jamfile index c84a978..9f76034 100644 --- a/Jamfile +++ b/Jamfile @@ -146,7 +146,7 @@ rule make_libjuice_openssl ( targets * : sources * : properties * ) { # on macOS, default to pick up openssl from the homebrew installation # brew install openssl - OPENSSL_INCLUDE = /usr/local/opt/openssl/include ; + OPENSSL_INCLUDE = /opt/homebrew/opt/openssl /usr/local/opt/openssl/include ; } if $(OPENSSL_INCLUDE) != "" @@ -194,7 +194,7 @@ rule openssl-lib-path ( properties * ) { # on macOS, default to pick up openssl from the homebrew installation # brew install openssl - OPENSSL_LIB = /usr/local/opt/openssl/lib ; + OPENSSL_LIB = /opt/homebrew/opt/openssl/lib /usr/local/opt/openssl/lib ; } else if windows in $(properties) && $(OPENSSL_LIB) = "" { @@ -220,7 +220,7 @@ rule openssl-include-path ( properties * ) { # on macOS, default to pick up openssl from the homebrew installation # brew install openssl - OPENSSL_INCLUDE = /usr/local/opt/openssl/include ; + OPENSSL_INCLUDE = /opt/homebrew/opt/openssl/include /usr/local/opt/openssl/include ; } else if windows in $(properties) && $(OPENSSL_INCLUDE) = "" {