mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-08-16 16:50:46 +03:00
Fix build on FreeBSD (#2852)
This commit is contained in:
parent
d78d0bff60
commit
60a3b80c19
@ -36,6 +36,11 @@ else
|
||||
SHLIB_SUFFIX := .so
|
||||
endif
|
||||
|
||||
ifneq (, $(findstring freebsd, $(MACHINE)))
|
||||
CFLAGS += -I$(shell /sbin/sysctl -n user.localbase)/include
|
||||
LDFLAGS += -L$(shell /sbin/sysctl -n user.localbase)/lib
|
||||
endif
|
||||
|
||||
ifneq ($(OS),windows)
|
||||
CFLAGS += -fPIC
|
||||
else ifneq (, $(findstring NT-6.1,$(shell uname)))
|
||||
|
Loading…
Reference in New Issue
Block a user