Skip to content

Commit 0f0a77e

Browse files
committed
doc: Add M1 mac + homebrew fix
The paths for this platform seem to be slightly different, so mention how they must be set.
1 parent 0ba1bc3 commit 0f0a77e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

doc/INSTALL.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,11 @@ If you need SQLite (or get a SQLite mismatch build error):
226226
$ export LDFLAGS="-L/usr/local/opt/sqlite/lib"
227227
$ export CPPFLAGS="-I/usr/local/opt/sqlite/include"
228228

229+
Some library paths are different when using `homebrew` with M1 macs, therefore the following two variables need to be set for M1 machines
230+
231+
$ export CPATH=/opt/homebrew/include
232+
$ export LIBRARY_PATH=/opt/homebrew/lib
233+
229234
If you need Python 3.x for mako (or get a mako build error):
230235

231236
$ brew install pyenv

0 commit comments

Comments
 (0)