3 @@ -20,6 +20,7 @@ libicu_dep = notfound
5 libunistring = notfound
6 networking_deps = notfound
7 +libiconv_dep = notfound
9 # FIXME: Cleanup this when Meson gets 'feature-combo':
10 # https://github.com/mesonbuild/meson/issues/4566
11 @@ -86,6 +87,7 @@ endif
12 if libidn2_dep.found() or libidn_dep.found()
13 # Check for libunistring, we need it for psl_str_to_utf8lower()
14 libunistring = cc.find_library('unistring')
15 + libiconv_dep = dependency('iconv')
18 if host_machine.system() == 'windows'
21 @@ -19,7 +19,7 @@ cargs = [
22 libpsl = library('psl', sources, suffixes_dafsa_h,
23 include_directories : [configinc, includedir],
25 - dependencies : [libidn2_dep, libidn_dep, libicu_dep, libunistring, networking_deps],
26 + dependencies : [libidn2_dep, libidn_dep, libicu_dep, libunistring, networking_deps, libiconv_dep],