mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-01 01:09:03 +03:00
Fix build on FreeBSD (#2852)
This commit is contained in:
parent
d78d0bff60
commit
60a3b80c19
@ -36,6 +36,11 @@ else
|
|||||||
SHLIB_SUFFIX := .so
|
SHLIB_SUFFIX := .so
|
||||||
endif
|
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)
|
ifneq ($(OS),windows)
|
||||||
CFLAGS += -fPIC
|
CFLAGS += -fPIC
|
||||||
else ifneq (, $(findstring NT-6.1,$(shell uname)))
|
else ifneq (, $(findstring NT-6.1,$(shell uname)))
|
||||||
|
Loading…
Reference in New Issue
Block a user