diff options
author | Koen Kooi <koen@openembedded.org> | 2008-08-08 13:05:14 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2008-08-08 13:05:14 +0000 |
commit | 69990468b9e9828532b42e15896c671d246fe764 (patch) | |
tree | f1c5310ef02b5aa814f29144257f8a1c19c94df1 | |
parent | e0e06499ca566922181234ab2f4698d4024f7f64 (diff) | |
parent | 839acf519ef0d68d6b253a24556d0fb7ed02835d (diff) |
merge of '26ec78f4f59453ecd4343ab4c92d4787ab5a81fe'
and '33f3d0a7c4cbdff4e2348d37b7add06e6c261f0e'
-rw-r--r-- | classes/autotools.bbclass | 6 |
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 |