build: Fix detection of OpenSSL on OS X with HomeBrew
Change-Id: Ibcbc9516cf3b47eaab446bd51eb70917226c8104
Refs: #3697
diff --git a/.jenkins.d/00-deps.sh b/.jenkins.d/00-deps.sh
index c07798a..d54374b 100755
--- a/.jenkins.d/00-deps.sh
+++ b/.jenkins.d/00-deps.sh
@@ -13,7 +13,6 @@
brew update
brew upgrade
brew install boost pkg-config cryptopp openssl $EXTRA_FLAGS
- brew link --force openssl
brew cleanup
fi
diff --git a/.waf-tools/openssl.py b/.waf-tools/openssl.py
index ec0dad1..de0f9dc 100644
--- a/.waf-tools/openssl.py
+++ b/.waf-tools/openssl.py
@@ -23,7 +23,7 @@
from waflib.Configure import conf
OPENSSL_VERSION_FILE = 'opensslv.h'
-OPENSSL_DIR_OSX = ['/usr/local', '/opt/local']
+OPENSSL_DIR_OSX = ['/usr/local', '/opt/local', '/usr/local/opt/openssl']
OPENSSL_DIR = ['/usr', '/usr/local', '/opt/local', '/sw']
def options(opt):