diff options
author | Christian Ambach <ambi@samba.org> | 2014-01-29 20:48:38 +0100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2014-02-13 02:01:03 +0100 |
commit | 6a7c420a79cc1258528f152f4de9a0608767729f (patch) | |
tree | 83a8a434adf7ede24a3d2602b228f1e7f1a643a9 /lib/replace | |
parent | 9abf1623ed2384d529ef3a2442a55fb293dee8b0 (diff) | |
download | samba-6a7c420a79cc1258528f152f4de9a0608767729f.tar.gz samba-6a7c420a79cc1258528f152f4de9a0608767729f.tar.xz samba-6a7c420a79cc1258528f152f4de9a0608767729f.zip |
waf:lib/replace fix iconv checks on HP/UX
we need to copy away the list of LDFLAGS
to be tried before modifying it instead of
just creating a new reference and then continuing
with a modified list while it should have been
reset back to the original value
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>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Thu Feb 13 02:01:03 CET 2014 on sn-devel-104
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 ab950184021..cabf91fd5a8 100644 --- a/lib/replace/wscript +++ b/lib/replace/wscript @@ -398,7 +398,7 @@ removeea setea else: # 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']; + oldflags = list(conf.env['EXTRA_LDFLAGS']); conf.env['EXTRA_LDFLAGS'].extend(["-liconv"]) conf.CHECK_FUNCS_IN('dgettext gettext bindtextdomain textdomain bind_textdomain_codeset', 'intl', checklibc=False, headers='libintl.h') |