aboutsummaryrefslogtreecommitdiff
path: root/cddl/usr.sbin/dtrace/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cddl/usr.sbin/dtrace/Makefile')
-rw-r--r--cddl/usr.sbin/dtrace/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/cddl/usr.sbin/dtrace/Makefile b/cddl/usr.sbin/dtrace/Makefile
index c72b55cc4903..2cc5376c5fed 100644
--- a/cddl/usr.sbin/dtrace/Makefile
+++ b/cddl/usr.sbin/dtrace/Makefile
@@ -10,9 +10,10 @@ BINDIR?= /usr/sbin
WARNS?= 1
CFLAGS+= -DIN_BASE
-CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include
-CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/
-CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/os/freebsd
+CFLAGS+= -DSKIP_SPL_SYS_CONDVAR_H
+CFLAGS+= -I${ZFSTOP}/include
+CFLAGS+= -I${ZFSTOP}/lib/libspl/include/
+CFLAGS+= -I${ZFSTOP}/lib/libspl/include/os/freebsd
CFLAGS+= -I${SRCTOP}/sys
CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include
CFLAGS+= -I${SRCTOP}/sys/cddl/compat/opensolaris \
@@ -33,7 +34,7 @@ CFLAGS+= -fsanitize=address -fsanitize=undefined
LDFLAGS+= -fsanitize=address -fsanitize=undefined
.endif
-LIBADD= dtrace ctf elf proc spl xo
+LIBADD= dtrace ctf elf proc spl xo pthread
.if ${MK_DTRACE_TESTS} != "no"
SUBDIR+= tests