diff options
author | Khem Raj <raj.khem@gmail.com> | 2013-08-21 19:20:42 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-26 11:47:16 +0100 |
commit | 2b7d2f8034d0a008a1ab853e5f05a4d4162ccbc2 (patch) | |
tree | 41d02d4b4eaac7578eb5c61823686a74185ae2b7 | |
parent | b3357d5d5ab0d8497c911931f66637a89261f22b (diff) | |
download | poky-2b7d2f8034d0a008a1ab853e5f05a4d4162ccbc2.tar.gz |
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>
-rw-r--r-- | 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 3ba49b6da9..0918bf59b0 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 = "\ | |||
44 | eglibc-charmap-invariant \ | 44 | eglibc-charmap-invariant \ |
45 | eglibc-localedata-translit-cjk-variants \ | 45 | eglibc-localedata-translit-cjk-variants \ |
46 | " | 46 | " |
47 | EXTRA_OECONF_append_class-target_libc-uclibc = " --with-libiconv=gnu" | ||
47 | 48 | ||
48 | do_configure_prepend() { | 49 | do_configure_prepend() { |
49 | sed -i -e '1s,#!.*,#!${USRBINPATH}/env python,' ${S}/gio/gdbus-2.0/codegen/gdbus-codegen.in | 50 | sed -i -e '1s,#!.*,#!${USRBINPATH}/env python,' ${S}/gio/gdbus-2.0/codegen/gdbus-codegen.in |