Update how to find openssl on OSX

using the OPENSSL_* variables makes rust-openssl find the hombrew library
without the need to link it to a common lib directory
This commit is contained in:
Leonardo Santagada 2016-09-11 20:31:26 +02:00
parent 234951e4b6
commit a530032610

View file

@ -49,7 +49,8 @@ Warning: Refusing to link: openssl
followed by a compile error not being able to find one or more
openssl/ include files, you may want to try:
```sh
export DEP_OPENSSL_INCLUDE=/usr/local/include
export OPENSSL_INCLUDE_DIR="$(brew --prefix openssl)/include"
export OPENSSL_LIB_DIR="$(brew --prefix openssl)/lib"
./mach build ...
```