diff options
Diffstat (limited to 'meta/classes/cpan.bbclass')
-rw-r--r-- | meta/classes/cpan.bbclass | 10 |
1 files changed, 10 insertions, 0 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 | ||
43 | do_configure_append_class-target() { | ||
44 | find . -name Makefile | xargs sed -E -i \ | ||
45 | -e 's:LD_RUN_PATH ?= ?"?[^"]*"?::g' | ||
46 | } | ||
47 | |||
48 | do_configure_append_class-nativesdk() { | ||
49 | find . -name Makefile | xargs sed -E -i \ | ||
50 | -e 's:LD_RUN_PATH ?= ?"?[^"]*"?::g' | ||
51 | } | ||
52 | |||
43 | cpan_do_compile () { | 53 | cpan_do_compile () { |
44 | oe_runmake PASTHRU_INC="${CFLAGS}" LD="${CCLD}" | 54 | oe_runmake PASTHRU_INC="${CFLAGS}" LD="${CCLD}" |
45 | } | 55 | } |