mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-11-27 04:42:32 +03:00
[ fix ] Use HOMEBREW_PREFIX instead of /opt/homebrew
This commit is contained in:
parent
2e27921771
commit
93bf394370
@ -37,9 +37,9 @@ else
|
||||
endif
|
||||
|
||||
# Find homebrew's libgmp on ARM macs
|
||||
ifneq (,$(wildcard /opt/homebrew/include/gmp.h))
|
||||
CPPFLAGS += -I/opt/homebrew/include
|
||||
LDFLAGS += -L/opt/homebrew/lib
|
||||
ifneq (,$(wildcard ${HOMEBREW_PREFIX}/include/gmp.h))
|
||||
CPPFLAGS += -I${HOMEBREW_PREFIX}/include
|
||||
LDFLAGS += -L${HOMEBREW_PREFIX}/lib
|
||||
endif
|
||||
|
||||
ifneq (, $(findstring freebsd, $(MACHINE)))
|
||||
|
Loading…
Reference in New Issue
Block a user