Add a note to indicate PKG_CONFIG_PATH required

This commit is contained in:
cybai 2019-04-07 22:21:05 +09:00 committed by GitHub
parent 65e37e6845
commit aa0b4abc9d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -76,6 +76,8 @@ export OPENSSL_LIB_DIR="$(brew --prefix openssl)/lib"
./mach build ...
```
##### Note: Please make sure the required `PKG_CONFIG_PATH` environment variable is set the same as the one provided from `brew info libffi` ([Check this comment for more details](https://github.com/servo/servo/issues/23015#issuecomment-475050175)).
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