summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2014-12-27 20:48:36 +0000
committerngie <ngie@FreeBSD.org>2014-12-27 20:48:36 +0000
commitab56491924934324fdb899b4d45a5b34bb2228e6 (patch)
tree0eef04197bb85e66b209f9c3aba9ba0350ad6055 /lib/libc
parent510b98dc2a25e223f18041ebe4c35f162272d104 (diff)
downloadFreeBSD-src-ab56491924934324fdb899b4d45a5b34bb2228e6.zip
FreeBSD-src-ab56491924934324fdb899b4d45a5b34bb2228e6.tar.gz
Build/install lib/libc/tests/hash/t_sha2 if MK_OPENSSL == yes
Reported by: Beeblebrox <zaphod@berentweb.com>
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/tests/hash/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/libc/tests/hash/Makefile b/lib/libc/tests/hash/Makefile
index df9d6d9..52fd569 100644
--- a/lib/libc/tests/hash/Makefile
+++ b/lib/libc/tests/hash/Makefile
@@ -1,8 +1,14 @@
# $FreeBSD$
+.include <src.opts.mk>
+
TESTSDIR= ${TESTSBASE}/lib/libc/hash
-NETBSD_ATF_TESTS_C= sha2_test
+NETBSD_ATF_TESTS_C=
+
+.if ${MK_OPENSSL} != "no"
+NETBSD_ATF_TESTS_C+= sha2_test
+.endif
NETBSD_ATF_TESTS_SH= hash_test
OpenPOWER on IntegriCloud