diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2015-06-22 20:05:02 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-01 15:39:58 +0100 |
commit | d61804d923e07db592f446955f5bc29690241000 (patch) | |
tree | 15da3a3db004cd96329ee8d47f67ca5e46eaf007 /meta/recipes-devtools/perl/perl_5.22.0.bb | |
parent | ae4e9de7c4626517e76d3bf8fc251af9807b3661 (diff) | |
download | poky-d61804d923e07db592f446955f5bc29690241000.tar.gz |
perl: fix for ODBM_File.so
Fixed for test case ../ext/ODBM_File/t/odbm.t:
ok 1 - use ODBM_File;
ok 2 - use Fcntl;
./perl: symbol lookup error: /usr/lib/perl/5.22.0/auto/ODBM_File/ODBM_File.so: undefined symbol: dbminit
The checking "if -e $_.'/libgdbm_compat.so'" doesn't work when cross
build, so always link libgdbm_compat, since perl depends on gdbm and we
always have libgdbm_compat.
(From OE-Core rev: 942fb460339c9771e40d2e1bc36ac09b0ac39821)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/perl/perl_5.22.0.bb')
-rw-r--r-- | meta/recipes-devtools/perl/perl_5.22.0.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl_5.22.0.bb b/meta/recipes-devtools/perl/perl_5.22.0.bb index da3dba6ebb..7c7041475f 100644 --- a/meta/recipes-devtools/perl/perl_5.22.0.bb +++ b/meta/recipes-devtools/perl/perl_5.22.0.bb | |||
@@ -59,6 +59,7 @@ SRC_URI += " \ | |||
59 | file://config.sh-64-be \ | 59 | file://config.sh-64-be \ |
60 | file://make_ext.pl-fix-regenerate-makefile-failed-while-cc-.patch \ | 60 | file://make_ext.pl-fix-regenerate-makefile-failed-while-cc-.patch \ |
61 | file://t-run-switches.t-perl5-perl.patch \ | 61 | file://t-run-switches.t-perl5-perl.patch \ |
62 | file://ext-ODBM_File-hints-linux.pl-link-libgdbm_compat.patch \ | ||
62 | " | 63 | " |
63 | 64 | ||
64 | # Fix test case issues | 65 | # Fix test case issues |