diff options
-rw-r--r-- | meta/classes/cpan-base.bbclass | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/meta/classes/cpan-base.bbclass b/meta/classes/cpan-base.bbclass index 660c15f549..c109c0fe83 100644 --- a/meta/classes/cpan-base.bbclass +++ b/meta/classes/cpan-base.bbclass @@ -39,8 +39,13 @@ def is_target(d): return "yes" return "no" -PERLLIBDIRS = "${@perl_get_libdirs(d)}" +PERLLIBDIRS := "${@perl_get_libdirs(d)}" +PERLVERSION := "${@get_perl_version(d)}" FILES_${PN}-dbg += "${PERLLIBDIRS}/auto/*/.debug \ ${PERLLIBDIRS}/auto/*/*/.debug \ - ${PERLLIBDIRS}/auto/*/*/*/.debug" + ${PERLLIBDIRS}/auto/*/*/*/.debug \ + ${PERLLIBDIRS}/vendor_perl/${PERLVERSION}/auto/*/.debug \ + ${PERLLIBDIRS}/vendor_perl/${PERLVERSION}/auto/*/*/.debug \ + ${PERLLIBDIRS}/vendor_perl/${PERLVERSION}/auto/*/*/*/.debug \ + " |