aboutsummaryrefslogtreecommitdiff
path: root/cddl/lib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cddl/lib/Makefile')
-rw-r--r--cddl/lib/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/cddl/lib/Makefile b/cddl/lib/Makefile
index 9371865ca428..69a0e381dfec 100644
--- a/cddl/lib/Makefile
+++ b/cddl/lib/Makefile
@@ -12,11 +12,8 @@ SUBDIR= ${_drti} \
${_libzfs_core} \
${_libzfs} \
${_libzpool} \
- ${_tests}
-.if ${MK_TESTS} != "no"
-_tests= tests
-.endif
+SUBDIR.${MK_TESTS}+= tests
.if ${MK_ZFS} != "no"
_libzfs_core= libzfs_core