docs: mac: add info from github
authorWhisperbyte <whisperbye@user.github.invalid.com>
Wed, 1 Mar 2017 09:57:38 +0000 (17:57 +0800)
committerAndy Green <andy@warmcat.com>
Wed, 1 Mar 2017 09:57:38 +0000 (17:57 +0800)
README.build.md

index 5706fae..592082b 100644 (file)
@@ -93,6 +93,14 @@ To get it to build on latest openssl (2016-04-10) it needed this approach
        cmake .. -DLWS_WITH_HTTP2=1 -DLWS_OPENSSL_INCLUDE_DIRS=/usr/local/include/openssl -DLWS_OPENSSL_LIBRARIES="/usr/local/lib64/libssl.so;/usr/local/lib64/libcrypto.so"
 ```
 
+Mac users have reported
+
+```
+ $ export OPENSSL_ROOT_DIR=/usr/local/Cellar/openssl/1.0.2k; cmake ..; make -j4
+```
+
+worked for them when using "homebrew" OpenSSL
+
 **NOTE5**:
 To build with debug info and _DEBUG for lower priority debug messages
 compiled in, use