diff options
-rw-r--r-- | lib/util/charset/wscript_configure | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/util/charset/wscript_configure b/lib/util/charset/wscript_configure index 346d585f5c..e38f22be04 100644 --- a/lib/util/charset/wscript_configure +++ b/lib/util/charset/wscript_configure @@ -15,5 +15,7 @@ if (conf.CHECK_FUNCS_IN('iconv_open', 'iconv', checklibc=False, headers='iconv.h if conf.env['HAVE_LIBICONV']: if conf.CHECK_FUNCS('mbrtowc', headers='wchar.h'): conf.DEFINE('HAVE_NATIVE_ICONV', 1) + elif conf.env.get['LIB_ICONV']: + del conf.env['LIB_ICONV'] else: conf.DEFINE('HAVE_NATIVE_ICONV', 1) |