summaryrefslogtreecommitdiffstats
path: root/cddl/lib
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/lib
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/lib')
-rw-r--r--cddl/lib/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/cddl/lib/Makefile b/cddl/lib/Makefile
index 94a93a1..138f607 100644
--- a/cddl/lib/Makefile
+++ b/cddl/lib/Makefile
@@ -11,7 +11,9 @@ SUBDIR= libavl \
.if ${MK_ZFS} != "no"
_libzfs= libzfs
+.if ${MK_LIBTHR} != "no" || ${MK_LIBPTHREAD} != "no"
_libzpool= libzpool
.endif
+.endif
.include <bsd.subdir.mk>
OpenPOWER on IntegriCloud