summaryrefslogtreecommitdiffstats
path: root/cddl/usr.sbin
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2007-10-01 18:23:24 +0000
committerru <ru@FreeBSD.org>2007-10-01 18:23:24 +0000
commitc05a2547c61f36994f2eb95b4a4f042faa697cef (patch)
treee3e4ada2df826ef2f884bff2138d6157cd7a8aa2 /cddl/usr.sbin
parent0ea9576a4d3c8cec356445aa34c765471dc136ac (diff)
downloadFreeBSD-src-c05a2547c61f36994f2eb95b4a4f042faa697cef.zip
FreeBSD-src-c05a2547c61f36994f2eb95b4a4f042faa697cef.tar.gz
Don't build bits that depend on the pthreads support if a
system was configured without such support. Approved by: re (kensmith)
Diffstat (limited to 'cddl/usr.sbin')
-rw-r--r--cddl/usr.sbin/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/cddl/usr.sbin/Makefile b/cddl/usr.sbin/Makefile
index 1be3501..f8b81fc 100644
--- a/cddl/usr.sbin/Makefile
+++ b/cddl/usr.sbin/Makefile
@@ -5,7 +5,9 @@
SUBDIR= ${_zdb}
.if ${MK_ZFS} != "no"
+.if ${MK_LIBTHR} != "no" || ${MK_LIBPTHREAD} != "no"
_zdb= zdb
.endif
+.endif
.include <bsd.subdir.mk>
OpenPOWER on IntegriCloud