mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-23 06:54:30 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user