[parted-devel] [PATCH] libparted/labels: link with libiconv if needed
Phil Susi
psusi at ubuntu.com
Mon Nov 13 16:02:44 UTC 2017
On 11/5/2017 5:33 PM, Arnout Vandecappelle (Essensium/Mind) wrote:
> gpt.c uses iconv so it should link with it. Otherwise, on platforms
> where libiconv is a separate library, we get a link failure of parted:
>
> CCLD parted
> ../libparted/.libs/libparted.so: undefined reference to `libiconv'
> ../libparted/.libs/libparted.so: undefined reference to `libiconv_open'
> ../libparted/.libs/libparted.so: undefined reference to `libiconv_close'
>
> Since iconv functionality is needed unconditionally (not only when
> gettext is enabled), AM_ICONV needs to be added to configure.ac.
Makes sense.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/parted-devel/attachments/20171113/32f4a8d9/attachment.sig>
More information about the parted-devel
mailing list