[parted-devel] [PATCH] libparted/labels: link with libiconv if needed

Brian C. Lane bcl at redhat.com
Tue Dec 19 17:51:22 UTC 2017


On Mon, Nov 13, 2017 at 11:02:44AM -0500, Phil Susi wrote:
> 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.
> 
> 
> 


Pushed to master.

-- 
Brian C. Lane (PST8PDT)



More information about the parted-devel mailing list