summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2016-12-03 00:38:35 +0000
committerngie <ngie@FreeBSD.org>2016-12-03 00:38:35 +0000
commitdf416754a3e6215c02350fdfddce78e01d3ab7c4 (patch)
tree7ee9995c3b878ca178bf995de70611251cce5b0d
parentefeea34bc90af8e8aecc705155e0d13574c09e71 (diff)
downloadFreeBSD-src-df416754a3e6215c02350fdfddce78e01d3ab7c4.zip
FreeBSD-src-df416754a3e6215c02350fdfddce78e01d3ab7c4.tar.gz
MFC r307700:
Only build lib/libc/tests/iconv if MK_ICONV != no
-rw-r--r--lib/libc/tests/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libc/tests/Makefile b/lib/libc/tests/Makefile
index 4ead70a..3e71350 100644
--- a/lib/libc/tests/Makefile
+++ b/lib/libc/tests/Makefile
@@ -8,7 +8,6 @@ TESTS_SUBDIRS= c063
TESTS_SUBDIRS+= db
TESTS_SUBDIRS+= gen
TESTS_SUBDIRS+= hash
-TESTS_SUBDIRS+= iconv
TESTS_SUBDIRS+= inet
TESTS_SUBDIRS+= net
TESTS_SUBDIRS+= nss
@@ -26,6 +25,10 @@ TESTS_SUBDIRS+= ttyio
SUBDIR_DEPEND_tls= tls_dso
+.if ${MK_ICONV} != "no"
+TESTS_SUBDIRS+= iconv
+.endif
+
.if ${MK_LOCALES} != "no"
TESTS_SUBDIRS+= locale
.endif
OpenPOWER on IntegriCloud