diff options
author | Andreas Oberritter <obi@opendreambox.org> | 2010-10-25 04:20:59 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2010-11-18 11:17:13 -0800 |
commit | c2c8fe4c5629add94bd0b922f5b3446624a9f4d8 (patch) | |
tree | 5c043e823bd030cb45af2c3696c2d0988752ddbf /classes/pkgconfig.bbclass | |
parent | ee2644c9275c63e8c50e052cb70e6a94a5cc83bf (diff) | |
download | openembedded-c2c8fe4c5629add94bd0b922f5b3446624a9f4d8.tar.gz |
pkgconfig.bbclass: don't blindly install every .pc file
* Instead of installing the file, print a log message. Later,
this function could be removed.
* .pc files must be installed explicitly to avoid causing
build problems. E.g. libsoup-2.4-gnome.pc must not be
installed if libsoup-2.4 is built without gnome support,
because gstreamer would try to link against libsoup-2.4-gnome.
* Fixes for lua5.1 and libid3tag, which install their own .pc
files from OE, have been submitted.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'classes/pkgconfig.bbclass')
-rw-r--r-- | classes/pkgconfig.bbclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/classes/pkgconfig.bbclass b/classes/pkgconfig.bbclass index 23ab453a53..d96b708c97 100644 --- a/classes/pkgconfig.bbclass +++ b/classes/pkgconfig.bbclass @@ -16,6 +16,8 @@ pkgconfig_sysroot_preprocess () { install -d ${SYSROOT_DESTDIR}${PKG_CONFIG_DIR} for pc in `find ${S} -name '*.pc' -type f | grep -v -- '-uninstalled.pc$'`; do pcname=`basename $pc` - cat $pc > ${SYSROOT_DESTDIR}${PKG_CONFIG_DIR}/$pcname + if [ ! -f ${SYSROOT_DESTDIR}${PKG_CONFIG_DIR}/$pcname ]; then + oenote "$pcname was not installed." + fi done } |