Commit 96a9670c authored by Andre Heider's avatar Andre Heider Committed by Max Kellermann

lib/icu: fix build with iconv()

parent dcc5ce67
......@@ -3,6 +3,7 @@ ver 0.21.16 (not yet released)
- curl: request the "resourcetype" property to fix database update
* update
- fix crash when music_directory is not a directory
* fix build with iconv() instead of ICU
ver 0.21.15 (2019/09/25)
* decoder
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment