mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
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.
This commit is contained in:
parent
1f1e92aca3
commit
37f1d50f51
1 changed files with 3 additions and 11 deletions
14
README.md
14
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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue