diff options
author | Christian Ambach <ambi@samba.org> | 2014-01-02 23:28:20 +0100 |
---|---|---|
committer | Christian Ambach <ambi@samba.org> | 2014-01-03 05:04:44 +0100 |
commit | 1a42ff7d8db63b26e2beb43268a1c4664723358e (patch) | |
tree | b613225a76f5022a487bdcf35ee5f9f91e199bcc /lib/replace | |
parent | 15b2d1a658b3fc428c20a7a461168f464951f40f (diff) | |
download | samba-1a42ff7d8db63b26e2beb43268a1c4664723358e.tar.gz samba-1a42ff7d8db63b26e2beb43268a1c4664723358e.tar.xz samba-1a42ff7d8db63b26e2beb43268a1c4664723358e.zip |
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 <ambi@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'lib/replace')
-rw-r--r-- | lib/replace/wscript | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript index a316032efea..09efdc8831f 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 |