diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/icu/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/icu/meson.build b/src/lib/icu/meson.build index 3232266ec..5386a62b4 100644 --- a/src/lib/icu/meson.build +++ b/src/lib/icu/meson.build @@ -20,7 +20,7 @@ if icu_dep.found() elif not get_option('iconv').disabled() have_iconv = compiler.has_function('iconv') conf.set('HAVE_ICONV', have_iconv) - if get_option('iconv').enabled() + if not have_iconv and get_option('iconv').enabled() error('iconv() not available') endif endif |