aboutsummaryrefslogtreecommitdiff
path: root/cddl/usr.sbin/Makefile
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2007-10-01 18:23:24 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2007-10-01 18:23:24 +0000
commitbcf72246c5082e768c19a7d4a76fe4b1fe6e8fd8 (patch)
treee3e4ada2df826ef2f884bff2138d6157cd7a8aa2 /cddl/usr.sbin/Makefile
parent152f2a4a96fd82ea013f6602e97ce3c2f0f46d08 (diff)
downloadsrc-bcf72246c5082e768c19a7d4a76fe4b1fe6e8fd8.tar.gz
src-bcf72246c5082e768c19a7d4a76fe4b1fe6e8fd8.zip
Don't build bits that depend on the pthreads support if a
system was configured without such support. Approved by: re (kensmith)
Notes
Notes: svn path=/head/; revision=172404
Diffstat (limited to 'cddl/usr.sbin/Makefile')
-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 1be350108b44..f8b81fcdd1f1 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>