diff options
author | Andre Heider <a.heider@gmail.com> | 2019-09-29 20:57:04 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2019-10-07 13:34:04 +0200 |
commit | 96a9670c69bb21a9f12643b118d06e27c73f8fbd (patch) | |
tree | 5df8b1ffe7e4a6e563d336972245d3bf442f4f0e /src | |
parent | dcc5ce67925ac9fb456f5d5e707a09f5ab931285 (diff) |
lib/icu: fix build with iconv()
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 |