summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/cpan.bbclass10
-rw-r--r--meta/recipes-devtools/perl/libxml-parser-perl_2.44.bb7
2 files changed, 10 insertions, 7 deletions
diff --git a/meta/classes/cpan.bbclass b/meta/classes/cpan.bbclass
index 926c6358a6..a5bc301898 100644
--- a/meta/classes/cpan.bbclass
+++ b/meta/classes/cpan.bbclass
@@ -40,6 +40,16 @@ cpan_do_configure () {
40 fi 40 fi
41} 41}
42 42
43do_configure_append_class-target() {
44 find . -name Makefile | xargs sed -E -i \
45 -e 's:LD_RUN_PATH ?= ?"?[^"]*"?::g'
46}
47
48do_configure_append_class-nativesdk() {
49 find . -name Makefile | xargs sed -E -i \
50 -e 's:LD_RUN_PATH ?= ?"?[^"]*"?::g'
51}
52
43cpan_do_compile () { 53cpan_do_compile () {
44 oe_runmake PASTHRU_INC="${CFLAGS}" LD="${CCLD}" 54 oe_runmake PASTHRU_INC="${CFLAGS}" LD="${CCLD}"
45} 55}
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