doc: Add M1 mac + homebrew fix

The paths for this platform seem to be slightly different, so mention
how they must be set.
This commit is contained in:
Christian Decker 2021-10-22 14:04:05 +02:00
parent 0ba1bc30fe
commit 0f0a77e322

View file

@ -226,6 +226,11 @@ If you need SQLite (or get a SQLite mismatch build error):
$ export LDFLAGS="-L/usr/local/opt/sqlite/lib"
$ export CPPFLAGS="-I/usr/local/opt/sqlite/include"
Some library paths are different when using `homebrew` with M1 macs, therefore the following two variables need to be set for M1 machines
$ export CPATH=/opt/homebrew/include
$ export LIBRARY_PATH=/opt/homebrew/lib
If you need Python 3.x for mako (or get a mako build error):
$ brew install pyenv