summaryrefslogtreecommitdiff
path: root/classes/autotools.bbclass
diff options
context:
space:
mode:
authorFlorian Boor <florian.boor@kernelconcepts.de>2008-08-14 23:48:23 +0000
committerFlorian Boor <florian.boor@kernelconcepts.de>2008-08-14 23:48:23 +0000
commite9570b88fa18c49a68b5f44bffd7e2abb101f499 (patch)
tree083d8795a6ff13b6950f8da4ba4c507791b39fa2 /classes/autotools.bbclass
parent8e9a327b9c3924807b7c2093d6cc910213720440 (diff)
parent2792ce30ea1b3eb6a32bad578a956557e3040e89 (diff)
merge of '77de2c054faaf8169bea5553ae2311a39a581403'
and 'fd59ca4a2d1cdb56a15d6a3323721ce78836fe52'
Diffstat (limited to 'classes/autotools.bbclass')
-rw-r--r--classes/autotools.bbclass6
1 files changed, 4 insertions, 2 deletions
diff --git a/classes/autotools.bbclass b/classes/autotools.bbclass
index 7137876a93..b4e78f8118 100644
--- a/classes/autotools.bbclass
+++ b/classes/autotools.bbclass
@@ -215,8 +215,10 @@ autotools_stage_all() {
# b) packaged staging will fix that anyways. :M:
if [ "${AUTOTOOLS_STAGE_PKGCONFIG}" = "1" ]
then
- echo "cp -f ${STAGE_TEMP}/${libdir}/pkgconfig/*.pc ${STAGING_LIBDIR}/pkgconfig/"
- cp -f ${STAGE_TEMP}/${libdir}/pkgconfig/*.pc ${STAGING_LIBDIR}/pkgconfig/
+ if [ -e ${STAGE_TEMP}/${libdir}/pkgconfig/ ] ; then
+ echo "cp -f ${STAGE_TEMP}/${libdir}/pkgconfig/*.pc ${STAGING_LIBDIR}/pkgconfig/"
+ cp -f ${STAGE_TEMP}/${libdir}/pkgconfig/*.pc ${STAGING_LIBDIR}/pkgconfig/
+ fi
fi
rm -rf ${STAGE_TEMP}/${mandir} || true
rm -rf ${STAGE_TEMP}/${infodir} || true