summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2019-01-21 09:48:24 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-01-22 14:35:58 +0000
commitd29c1edcbcb36e9dc3f3901deeae7378bcf3d62d (patch)
tree88f4a6000a911bd379654fd897a7b258b30390c7 /meta
parent1d86f65ff54164f23d96d76dec4b1f468f4bab06 (diff)
downloadpoky-d29c1edcbcb36e9dc3f3901deeae7378bcf3d62d.tar.gz
perl-native: unset configure symbol i_xlocale
perl-native checks xlocale.h on build machine. But xlocale.h has been removed by glibc already. When use share state caches between machines that one has xlocale.h but the other one doesn't, it causes packages which depend on perl-native such as libdbi-perl-native fails to compile: | In file included from DBIXS.h:23, | from Perl.xs:7: | .../tmp-glibc/work/x86_64-linux/libdbi-perl-native/1.642-r0/recipe-sysroot-native/usr/lib/perl5/5.28.1/x86_64-linux/CORE/perl.h:723:13: | fatal error: xlocale.h: No such file or directory | # include <xlocale.h> | ^~~~~~~~~~~ | compilation terminated. Unset configure symbol i_xlocale for perl-native to fix the issue. (From OE-Core rev: ad6a8fae67acd291b9d7f554ae1a8c621b51fded) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/perl-sanity/perl_5.28.1.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/perl-sanity/perl_5.28.1.bb b/meta/recipes-devtools/perl-sanity/perl_5.28.1.bb
index 949758c4d4..176980e1b2 100644
--- a/meta/recipes-devtools/perl-sanity/perl_5.28.1.bb
+++ b/meta/recipes-devtools/perl-sanity/perl_5.28.1.bb
@@ -82,7 +82,8 @@ do_configure_class-native() {
82 -Dbin=${bindir}/perl-native \ 82 -Dbin=${bindir}/perl-native \
83 -Duseshrplib \ 83 -Duseshrplib \
84 -Dsoname=libperl.so.5 \ 84 -Dsoname=libperl.so.5 \
85 -Dvendorprefix=${prefix} 85 -Dvendorprefix=${prefix} \
86 -Ui_xlocale
86} 87}
87 88
88do_compile() { 89do_compile() {