glib-2.0: Specify libiconv when building on uclibc

We use GNU libiconv seprate package on uclibc
specifying this makes the configure clear of not
trying to detect glibc/iconv and then also finding
libiconv in sysroot and confusing itself with errors like

| gconvert.c:66:2: error: #error GNU libiconv not in use but included iconv.h is from libiconv
|  #error GNU libiconv not in use but included iconv.h is from libiconv
|   ^

(From OE-Core rev: 38b6c4df7c215ed7fd6be107fbc2527e66791e2e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj 2013-08-21 19:20:42 -07:00 committed by Richard Purdie
parent b3357d5d5a
commit 2b7d2f8034
1 changed files with 1 additions and 0 deletions

View File

@ -44,6 +44,7 @@ RDEPENDS_${PN}-ptest_append_libc-glibc = "\
eglibc-charmap-invariant \
eglibc-localedata-translit-cjk-variants \
"
EXTRA_OECONF_append_class-target_libc-uclibc = " --with-libiconv=gnu"
do_configure_prepend() {
sed -i -e '1s,#!.*,#!${USRBINPATH}/env python,' ${S}/gio/gdbus-2.0/codegen/gdbus-codegen.in