libiconv: skip recipe if using eglibc
libiconv is provided for use with uClibc - if you build it together with eglibc (which already PROVIDES virtual/libiconv) you can end up with dependency problems during do_rootfs. (From OE-Core rev: f3e2ccff952f148522a09c09e0dea92e59bab5b6) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
3fe5d09058
commit
8a2664b1c2
|
@ -20,6 +20,11 @@ S = "${WORKDIR}/libiconv-${PV}"
|
|||
|
||||
inherit autotools pkgconfig gettext
|
||||
|
||||
python __anonymous() {
|
||||
if d.getVar("TCLIBC", True) == "eglibc":
|
||||
raise bb.parse.SkipPackage("libiconv is provided for use with uClibc only - eglibc already provides iconv")
|
||||
}
|
||||
|
||||
EXTRA_OECONF += "--enable-shared --enable-static --enable-relocatable"
|
||||
|
||||
LEAD_SONAME = "libiconv.so"
|
||||
|
|
|
@ -21,6 +21,11 @@ S = "${WORKDIR}/libiconv-${PV}"
|
|||
|
||||
inherit autotools pkgconfig gettext
|
||||
|
||||
python __anonymous() {
|
||||
if d.getVar("TCLIBC", True) == "eglibc":
|
||||
raise bb.parse.SkipPackage("libiconv is provided for use with uClibc only - eglibc already provides iconv")
|
||||
}
|
||||
|
||||
EXTRA_OECONF += "--enable-shared --enable-static --enable-relocatable"
|
||||
|
||||
LEAD_SONAME = "libiconv.so"
|
||||
|
|
Loading…
Reference in New Issue