mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-03 10:46:58 +01:00
add m1 native lib paths to Makefile
add m1 native lib paths to Makefile (also need PKG_CONFIG_PATH) [ Squashed into a single commit --RR ]
This commit is contained in:
parent
856808aa2d
commit
910630c497
1 changed files with 3 additions and 0 deletions
3
Makefile
3
Makefile
|
@ -240,6 +240,9 @@ DEFAULT_TARGETS :=
|
|||
ifeq ("$(OS)-$(ARCH)", "Darwin-arm64")
|
||||
CPATH := /opt/homebrew/include
|
||||
LIBRARY_PATH := /opt/homebrew/lib
|
||||
LDFLAGS := -L/opt/homebrew/opt/sqlite/lib
|
||||
CPPFLAGS := -I/opt/homebrew/opt/sqlite/include
|
||||
PKG_CONFIG_PATH=/opt/homebrew/opt/sqlite/lib/pkgconfig
|
||||
else
|
||||
CPATH := /usr/local/include
|
||||
LIBRARY_PATH := /usr/local/lib
|
||||
|
|
Loading…
Add table
Reference in a new issue