Only build lib/libc/tests/iconv if MK_ICONV != no

MFC after:	1 week
Reported by:	damian@damianek.be
Sponsored by:	Dell EMC Isilon
This commit is contained in:
ngie 2016-10-21 04:54:43 +00:00
parent ab2fc224e5
commit 390b7cb0ff

View File

@ -8,7 +8,6 @@ TESTS_SUBDIRS= c063
TESTS_SUBDIRS+= db TESTS_SUBDIRS+= db
TESTS_SUBDIRS+= gen TESTS_SUBDIRS+= gen
TESTS_SUBDIRS+= hash TESTS_SUBDIRS+= hash
TESTS_SUBDIRS+= iconv
TESTS_SUBDIRS+= inet TESTS_SUBDIRS+= inet
TESTS_SUBDIRS+= net TESTS_SUBDIRS+= net
TESTS_SUBDIRS+= nss TESTS_SUBDIRS+= nss
@ -26,6 +25,10 @@ TESTS_SUBDIRS+= ttyio
SUBDIR_DEPEND_tls= tls_dso SUBDIR_DEPEND_tls= tls_dso
.if ${MK_ICONV} != "no"
TESTS_SUBDIRS+= iconv
.endif
.if ${MK_LOCALES} != "no" .if ${MK_LOCALES} != "no"
TESTS_SUBDIRS+= locale TESTS_SUBDIRS+= locale
.endif .endif