1
0
mirror of https://github.com/dovecot/core.git synced 2026-10-23 22:08:58 +03:00

meson: iconv()

This commit is contained in:
Fred Morcos
2026-08-03 20:29:51 +02:00
committed by timo.sirainen
parent 00912508fe
commit 46ecb6449a
2 changed files with 6 additions and 0 deletions

View File

@@ -127,6 +127,7 @@ subdir('meson' / 'fd')
subdir('meson' / 'quota')
subdir('meson' / 'sendfile')
subdir('meson' / 'ssl')
subdir('meson' / 'iconv')
dovecot_moduledir = get_option('moduledir')
if dovecot_moduledir == ''

5
meson/iconv/meson.build Normal file
View File

@@ -0,0 +1,5 @@
# iconv() is part of libc on GNU, but is a separate libiconv on musl, the BSDs and macOS.
# lib-charset compiles charset-iconv.c unconditionally, so this is not optional.
ext_iconv = dependency('iconv', required: true)
conf.set('HAVE_ICONV', ext_iconv.found(), description: 'Have iconv()')
summary({'iconv': ext_iconv}, section: 'Features')