]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
parted: properly link with libiconv
authorArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Mon, 6 Nov 2017 21:23:03 +0000 (22:23 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 23 Nov 2017 21:56:09 +0000 (22:56 +0100)
commitd8bb9b5f8a38b61a417f000b27d28d9fef7fdef5
treecbfc2220de1c7e89f6f1dbe7f732071e96b33570
parente456589d8a075974f41efd602b9620d9589db722
parted: properly link with libiconv

parted uses libiconv but doesn't link with it. Add a patch to add it
to LIBADD of the library that uses it. iconv was already checked in
configure.ac, but only if i18n is enabled, so the iconv check is also
added unconditionally in configure.ac.

Also add an optional dependency on libiconv, so it is reproducible.

This was not detected in the autobuilders, since it only occurs when
libiconv exists (otherwise uClibc stubs will be used). libiconv
depends on !BR2_ENABLE_LOCALE and parted depends on BR2_USE_WCHAR. We
don't have such a configuration in the autobuilders.

Upstream status: sent to mailing list
http://lists.alioth.debian.org/pipermail/parted-devel/2017-November/005131.html

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Sjoerd Venema <srg.venema@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/parted/0004-libparted-labels-link-with-libiconv-if-needed.patch [new file with mode: 0644]
package/parted/parted.mk