build: Fix detection of OpenSSL on OS X with HomeBrew
Change-Id: Ibcbc9516cf3b47eaab446bd51eb70917226c8104
Refs: #3697
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):