From 458a079bd4c4689d2e09f9e4e4c44bfebb7c7326 Mon Sep 17 00:00:00 2001 From: Leonardo Santagada Date: Wed, 14 Sep 2016 10:29:51 -0500 Subject: [PATCH] servo: Merge #13225 - Update openssl location for osx homebrew (from santagada:patch-1); r=larsbergstrom --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). - [ ] There are tests for these changes OR - [x] These changes do not require tests because its a documentation change the location of openssl might have changed, but it reads as of now: ```sh $ brew link --force openssl Warning: Refusing to link: openssl Linking keg-only openssl means you may end up linking against the insecure, deprecated system OpenSSL while using the headers from Homebrew's openssl. Instead, pass the full include/library paths to your compiler e.g.: -I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib ``` Source-Repo: https://github.com/servo/servo Source-Revision: 1f1e92aca347a165ea46d9d0e8b86c43ba245823 --- servo/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/servo/README.md b/servo/README.md index 3c8ed121bd7a..473205ec38de 100644 --- a/servo/README.md +++ b/servo/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 ... ```