mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-09-11 13:36:08 +03:00
[ fix ] fix macos ci
This commit is contained in:
parent
2298f8837b
commit
bed2013328
@ -36,6 +36,12 @@ else
|
||||
SHLIB_SUFFIX := .so
|
||||
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
|
||||
endif
|
||||
|
||||
ifneq (, $(findstring freebsd, $(MACHINE)))
|
||||
CFLAGS += -I$(shell /sbin/sysctl -n user.localbase)/include
|
||||
LDFLAGS += -L$(shell /sbin/sysctl -n user.localbase)/lib
|
||||
|
Loading…
Reference in New Issue
Block a user