Searching for .pc files in S makes more problems than it brings benefits. Searching in the installed root seems to be more logical.
Fixes possible subtle breakages: - .pc files populated with a different name that upstream intended - populated .pc files files that were not intended to be populated Signed-off-by: Stanislav Brabec <[email protected]> diff --git a/classes/pkgconfig.bbclass b/classes/pkgconfig.bbclass index d96b708..00298ca 100644 --- a/classes/pkgconfig.bbclass +++ b/classes/pkgconfig.bbclass @@ -14,7 +14,7 @@ SYSROOT_PREPROCESS_FUNCS += "pkgconfig_sysroot_preprocess" pkgconfig_sysroot_preprocess () { install -d ${SYSROOT_DESTDIR}${PKG_CONFIG_DIR} - for pc in `find ${S} -name '*.pc' -type f | grep -v -- '-uninstalled.pc$'`; do + for pc in `find ${D} -name '*.pc' -type f`; do pcname=`basename $pc` if [ ! -f ${SYSROOT_DESTDIR}${PKG_CONFIG_DIR}/$pcname ]; then oenote "$pcname was not installed." -- ________________________________________________________________________ Stanislav Brabec http://www.penguin.cz/~utx/zaurus _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
