Re: [PATCH 19/73] mtools: Fix build with uclibc

Roman Khimov
2016-01-18T07:18:00Z

В письме от 17 января 2016 03:35:52 пользователь Khem Raj написал:
> --- a/meta/recipes-devtools/mtools/mtools_4.0.18.bb
> +++ b/meta/recipes-devtools/mtools/mtools_4.0.18.bb
> @@ -5,6 +5,7 @@ SECTION = "optional"
> LICENSE = "GPLv3"
> LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
>
> +DEPENDS += "virtual/libiconv"
>
> RDEPENDS_${PN}_libc-glibc = "glibc-gconv-ibm850"
> RRECOMMENDS_${PN}_libc-glibc = "\
> @@ -35,6 +36,8 @@ inherit autotools texinfo
>
> EXTRA_OECONF = "--without-x"
>
> +LDFLAGS_append_libc-uclibc = " -liconv "
> +
> BBCLASSEXTEND = "native nativesdk"
>
> PACKAGECONFIG ??= ""

I've just checked to see that my mtools bbappend (based on fido) has it solved
like this:

DEPENDS_class-target += "virtual/libiconv"
export LIBS = "-liconv"
LIBS_class-native = ""

And from what I remember, I had some issue building native package with
'DEPENDS +='. Although that's an old branch and probably things are different
now.

Same thing with parted.

--
http://roman.khimov.ru
mailto: roman@khimov.ru
gpg --keyserver hkp://subkeys.pgp.net --recv-keys 0xE5E055C3