[oe-commits] Khem Raj : glib-2.0: Specify libiconv when building on uclibc

git at git.openembedded.org git at git.openembedded.org
Mon Aug 26 10:19:15 UTC 2013


Module: openembedded-core.git
Branch: master-next
Commit: 38b6c4df7c215ed7fd6be107fbc2527e66791e2e
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=38b6c4df7c215ed7fd6be107fbc2527e66791e2e

Author: Khem Raj <raj.khem at gmail.com>
Date:   Wed Aug 21 19:20:42 2013 -0700

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
|   ^

Signed-off-by: Khem Raj <raj.khem at gmail.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 meta/recipes-core/glib-2.0/glib-2.0_2.36.4.bb |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-core/glib-2.0/glib-2.0_2.36.4.bb b/meta/recipes-core/glib-2.0/glib-2.0_2.36.4.bb
index 3ba49b6..0918bf5 100644
--- a/meta/recipes-core/glib-2.0/glib-2.0_2.36.4.bb
+++ b/meta/recipes-core/glib-2.0/glib-2.0_2.36.4.bb
@@ -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



More information about the Openembedded-commits mailing list