mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
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
3 changed files with 6 additions and 0 deletions
|
|
@ -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…
Reference in a new issue