summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-01-20 21:46:04 +0000
committerngie <ngie@FreeBSD.org>2015-01-20 21:46:04 +0000
commit914ba0497abb7c4a0407b96e2f061870b0a4a4b9 (patch)
treec10ba6e325af7b3de750965505ae436d2db01e6d /lib
parent447f2d204c9de43f100e8e8638de2738c1ebd062 (diff)
downloadFreeBSD-src-914ba0497abb7c4a0407b96e2f061870b0a4a4b9.zip
FreeBSD-src-914ba0497abb7c4a0407b96e2f061870b0a4a4b9.tar.gz
MFC r276318:
r276318 (by ngie): Build/install lib/libc/tests/hash/t_sha2 if MK_OPENSSL == yes Reported by: Beeblebrox <zaphod@berentweb.com>
Diffstat (limited to 'lib')
-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..4c64c70 100644
--- a/lib/libc/tests/hash/Makefile
+++ b/lib/libc/tests/hash/Makefile
@@ -1,8 +1,14 @@
# $FreeBSD$
+.include <bsd.own.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