From f06fc1880b1cd1925116916b7949c2032a15a4d0 Mon Sep 17 00:00:00 2001 From: Stanislav Brabec Date: Sat, 18 Apr 2009 12:59:58 +0000 Subject: autotools.bbclass, distutils-common-base.bbclass, bitbake.conf: Fully support datadir/pkgconfig... * http://lists.linuxtogo.org/pipermail/openembedded-devel/2009-April/009963.html --- classes/autotools.bbclass | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'classes/autotools.bbclass') diff --git a/classes/autotools.bbclass b/classes/autotools.bbclass index 20f371a987..e43b289c56 100644 --- a/classes/autotools.bbclass +++ b/classes/autotools.bbclass @@ -231,6 +231,10 @@ autotools_stage_all() { echo "cp -f ${STAGE_TEMP}/${libdir}/pkgconfig/*.pc ${STAGING_LIBDIR}/pkgconfig/" cp -f ${STAGE_TEMP}/${libdir}/pkgconfig/*.pc ${STAGING_LIBDIR}/pkgconfig/ fi + if [ -e ${STAGE_TEMP}/${datadir}/pkgconfig/ ] ; then + echo "cp -f ${STAGE_TEMP}/${datadir}/pkgconfig/*.pc ${STAGING_DATADIR}/pkgconfig/" + cp -f ${STAGE_TEMP}/${datadir}/pkgconfig/*.pc ${STAGING_DATADIR}/pkgconfig/ + fi fi rm -rf ${STAGE_TEMP}/${mandir} || true rm -rf ${STAGE_TEMP}/${infodir} || true -- cgit 1.2.3-korg