freebsd: don't enable dtrace if it's not available
This commit is contained in:
parent
8e4b248ca6
commit
c8ffee3460
@ -106,7 +106,9 @@ OBJS += src/unix/linux-core.o \
|
||||
endif
|
||||
|
||||
ifeq (freebsd,$(PLATFORM))
|
||||
ifeq ($(shell dtrace -l 1>&2 2>/dev/null; echo $$?),0)
|
||||
HAVE_DTRACE=1
|
||||
endif
|
||||
LDFLAGS+=-lkvm
|
||||
OBJS += src/unix/freebsd.o
|
||||
OBJS += src/unix/kqueue.o
|
||||
|
||||
Loading…
Reference in New Issue
Block a user