summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/libxml-parser-perl_2.44.bb
diff options
context:
space:
mode:
authorJens Rehsack <sno@netbsd.org>2018-08-27 15:20:15 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-08-28 10:30:28 +0100
commit97885b29733e540b62aaa6416bb473a24fc23e5f (patch)
tree803cd4254f8922eed5a2983f93fdb19904e9cec7 /meta/recipes-devtools/perl/libxml-parser-perl_2.44.bb
parent1c048479af7cc98e30f9a33d1f3bef03711544aa (diff)
downloadpoky-97885b29733e540b62aaa6416bb473a24fc23e5f.tar.gz
cpan.bbclass: make RPATH fix more general
Extract a general version of RPATH fix for libxml-parser-perl_2.44.bb from 292471701 libxml-parser-perl: fix "...contains bad RPATH" into cpan.bbclass to catch most errors reported by Khem Raj via http://errors.yoctoproject.org/Errors/Build/66538/ Genrally, Perl 5 toolchain deals with cross-compile sysroots as if a dependency is installed at an exostic place on a server. This issue needs to be addressed wider into the community. (From OE-Core rev: a5439ff9627d309f6980947f5ee573d85e672228) Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/perl/libxml-parser-perl_2.44.bb')
-rw-r--r--meta/recipes-devtools/perl/libxml-parser-perl_2.44.bb7
1 files changed, 0 insertions, 7 deletions
diff --git a/meta/recipes-devtools/perl/libxml-parser-perl_2.44.bb b/meta/recipes-devtools/perl/libxml-parser-perl_2.44.bb
index 194ed6ac48..95af4d1de6 100644
--- a/meta/recipes-devtools/perl/libxml-parser-perl_2.44.bb
+++ b/meta/recipes-devtools/perl/libxml-parser-perl_2.44.bb
@@ -21,13 +21,6 @@ inherit cpan ptest-perl
21do_configure_append_class-target() { 21do_configure_append_class-target() {
22 sed -E \ 22 sed -E \
23 -e 's:-L${STAGING_LIBDIR}::g' -e 's:-I${STAGING_INCDIR}::g' \ 23 -e 's:-L${STAGING_LIBDIR}::g' -e 's:-I${STAGING_INCDIR}::g' \
24 -e 's:LD_RUN_PATH ?= ?"?[^"]*"?::g' \
25 -i Makefile Expat/Makefile
26}
27
28do_configure_append_class-nativesdk() {
29 sed -E \
30 -e 's:LD_RUN_PATH ?= ?"?[^"]*"?::g' \
31 -i Makefile Expat/Makefile 24 -i Makefile Expat/Makefile
32} 25}
33 26