summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/util/charset/wscript_configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/charset/wscript_configure b/lib/util/charset/wscript_configure
index e38f22be04..98756fee2b 100644
--- a/lib/util/charset/wscript_configure
+++ b/lib/util/charset/wscript_configure
@@ -15,7 +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']:
+ elif conf.env.LIB_ICONV:
del conf.env['LIB_ICONV']
else:
conf.DEFINE('HAVE_NATIVE_ICONV', 1)