build: fix bad syntax
authorMatthieu Patou <mat@matws.net>
Tue, 14 Dec 2010 19:04:42 +0000 (22:04 +0300)
committerMatthieu Patou <mat@samba.org>
Tue, 14 Dec 2010 19:55:17 +0000 (20:55 +0100)
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Tue Dec 14 20:55:17 CET 2010 on sn-devel-104

lib/util/charset/wscript_configure

index e38f22be047f7b059f5c08726030adcbbd08eab3..98756fee2bba28365874cea76c949460987a853a 100644 (file)
@@ -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)