[OE-core] [PATCH 19/73] mtools: Fix build with uclibc
Roman Khimov
roman at khimov.ru
Mon Jan 18 07:17:54 UTC 2016
В письме от 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 at khimov.ru
gpg --keyserver hkp://subkeys.pgp.net --recv-keys 0xE5E055C3
More information about the Openembedded-core
mailing list