From 37f1d50f51c3b45c63258a05ede4ef2e06f3fedb Mon Sep 17 00:00:00 2001 From: Leonardo Santagada Date: Thu, 15 Sep 2016 00:35:00 +0200 Subject: [PATCH] Further improve OSX openssl docs force linking doesn't work anymore and setting the environment variables is the recommended way of linking to non system openssl. --- README.md | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 473205ec38d..abe45614111 100644 --- a/README.md +++ b/README.md @@ -35,26 +35,18 @@ pip install virtualenv ``` sh sudo port install python27 py27-virtualenv cmake ``` -#### On OS X 10.11 (El Capitan), you also have to install openssl +#### On OS X <= 10.11 (El Capitan), you also have to install openssl ``` sh brew install openssl -brew link --force openssl -``` -If you get this error during the brew link step: -```sh -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 OPENSSL_INCLUDE_DIR="$(brew --prefix openssl)/include" export OPENSSL_LIB_DIR="$(brew --prefix openssl)/lib" + ./mach build ... ``` -If you've already partially compiled servo but forgot to do this step, run ./mach clean, link openssl, and recompile. +If you've already partially compiled servo but forgot to do this step, run ./mach clean, set the shell variables, and recompile. #### On Debian-based Linuxes