From 1a42ff7d8db63b26e2beb43268a1c4664723358e Mon Sep 17 00:00:00 2001 From: Christian Ambach Date: Thu, 2 Jan 2014 23:28:20 +0100 Subject: waf:lib/replace correct detection of libiconv add -liconv as a complete command line argument, not all characters on their own Bug: https://bugzilla.samba.org/show_bug.cgi?id=9911 Signed-off-by: Christian Ambach Reviewed-by: Andrew Bartlett --- lib/replace/wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/replace/wscript') diff --git a/lib/replace/wscript b/lib/replace/wscript index a316032efe..09efdc8831 100644 --- a/lib/replace/wscript +++ b/lib/replace/wscript @@ -390,7 +390,7 @@ removeea setea # Some hosts need lib iconv for linking with lib intl # So we try with flags just in case it helps. oldflags = conf.env['EXTRA_LDFLAGS']; - conf.env['EXTRA_LDFLAGS'].extend("-liconv") + conf.env['EXTRA_LDFLAGS'].extend(["-liconv"]) conf.CHECK_FUNCS_IN('dgettext gettext bindtextdomain textdomain bind_textdomain_codeset', 'intl', checklibc=False, headers='libintl.h') conf.env['EXTRA_LDFLAGS'] = oldflags -- cgit