mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-05 23:48:44 +02:00
meson: Add autodetection to the iconv combo option
Instead of requiring the user to specify which option to use, which they will not really know, nor should they need to know. Search for each type of iconv (in the C library, as a separate native library, as the GNU implementation) by default. Fixes https://gitlab.gnome.org/GNOME/glib/issues/1557
This commit is contained in:
@@ -5,9 +5,9 @@ option('runtime_libdir',
|
||||
|
||||
option('iconv',
|
||||
type : 'combo',
|
||||
choices : ['libc', 'gnu', 'native'],
|
||||
value : 'libc',
|
||||
description : 'iconv implementation to use (\'libc\' = \'Part of the C stdlib\'; \'gnu\' = \'GNU\'s iconv\'; \'native\' = \'A separate iconv\')')
|
||||
choices : ['auto', 'libc', 'native', 'gnu'],
|
||||
value : 'auto',
|
||||
description : 'iconv implementation to use (\'libc\' = \'Part of the C stdlib\'; \'gnu\' = \'GNU\'s iconv\'; \'native\' = \'A separate iconv\'; \'auto\' = \'Auto-detect which iconv is available\')')
|
||||
|
||||
option('charsetalias_dir',
|
||||
type : 'string',
|
||||
|
||||
Reference in New Issue
Block a user