summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/cpan.bbclass13
1 files changed, 11 insertions, 2 deletions
diff --git a/meta/classes/cpan.bbclass b/meta/classes/cpan.bbclass
index 5a0b4a5c92..506d4c4c81 100644
--- a/meta/classes/cpan.bbclass
+++ b/meta/classes/cpan.bbclass
@@ -50,7 +50,16 @@ cpan_do_compile () {
50} 50}
51 51
52cpan_do_install () { 52cpan_do_install () {
53 oe_runmake install_vendor 53 if [ ${@is_target(d)} == "yes" ]; then
54 oe_runmake install_vendor
55 fi
56}
57
58cpan_do_stage () {
59 if [ ${@is_target(d)} == "no" ]; then
60 oe_runmake install_vendor
61 fi
54} 62}
63
55 64
56EXPORT_FUNCTIONS do_configure do_compile do_install 65EXPORT_FUNCTIONS do_configure do_compile do_install do_stage