There seems to be no benefit in having them be different and this
appears to cause a certain amount of confusion about paths for
the native modules.
Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
if [ ${@is_target(d)} == "yes" ]; then
# build for target
. ${STAGING_LIBDIR}/perl/config.sh
+ fi
- perl Build.PL --installdirs vendor \
+ perl Build.PL --installdirs vendor \
--destdir ${D} \
--install_path lib="${datadir}/perl" \
--install_path arch="${libdir}/perl" \
--install_path bin=${bindir} \
--install_path bindoc=${mandir}/man1 \
--install_path libdoc=${mandir}/man3
- else
- # build for host
- perl Build.PL --installdirs site --destdir ${D}
- fi
}
cpan_build_do_compile () {