From a5300326105f219544a95b6d3695799bfd608a74 Mon Sep 17 00:00:00 2001 From: Leonardo Santagada Date: Sun, 11 Sep 2016 20:31:26 +0200 Subject: [PATCH] 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 --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3c8ed121bd7..473205ec38d 100644 --- a/README.md +++ b/README.md @@ -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 ... ```