1
0
Fork 0

[meson] iconv non-required

This commit is contained in:
Witold Filipczyk 2022-06-28 20:30:49 +02:00
parent 7ea04c7f0f
commit e5dcb352b9
1 changed files with 4 additions and 2 deletions

View File

@ -795,8 +795,10 @@ if compiler.has_function('ASN1_STRING_get0_data', prefix: '#include <openssl/asn
conf_data.set('HAVE_ASN1_STRING_GET0_DATA', 1)
endif
iconvdeps = compiler.find_library('iconv', static: st, dirs: ['/usr/local/lib'])
deps += iconvdeps
iconvdeps = compiler.find_library('iconv', static: st, dirs: ['/usr/local/lib'], required: false)
if iconvdeps.found()
deps += iconvdeps
endif
if compiler.has_function('nl_langinfo', prefix: '#include <langinfo.h>')
conf_data.set('HAVE_LANGINFO_CODESET', 1)