Don't build bits that depend on the pthreads support if a
system was configured without such support. Approved by: re (kensmith)
This commit is contained in:
parent
152f2a4a96
commit
bcf72246c5
@ -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>
|
||||
|
@ -5,7 +5,9 @@
|
||||
SUBDIR= ${_ztest}
|
||||
|
||||
.if ${MK_ZFS} != "no"
|
||||
.if ${MK_LIBTHR} != "no" || ${MK_LIBPTHREAD} != "no"
|
||||
_ztest= ztest
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.include <bsd.subdir.mk>
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user