Skip to content

Commit a530032

Browse files
committed
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
1 parent 234951e commit a530032

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ Warning: Refusing to link: openssl
4949
followed by a compile error not being able to find one or more
5050
openssl/ include files, you may want to try:
5151
```sh
52-
export DEP_OPENSSL_INCLUDE=/usr/local/include
52+
export OPENSSL_INCLUDE_DIR="$(brew --prefix openssl)/include"
53+
export OPENSSL_LIB_DIR="$(brew --prefix openssl)/lib"
5354
./mach build ...
5455
```
5556

0 commit comments

Comments
 (0)