2009-11-02 17:27:05 +00:00
|
|
|
SYSROOT_PREPROCESS_FUNCS += "pkgconfig_sysroot_preprocess"
|
|
|
|
|
|
|
|
pkgconfig_sysroot_preprocess () {
|
|
|
|
install -d ${SYSROOT_DESTDIR}${PKG_CONFIG_DIR}
|
2009-06-12 15:02:13 +00:00
|
|
|
for pc in `find ${S} -name '*.pc' -type f | grep -v -- '-uninstalled.pc$'`; do
|
|
|
|
pcname=`basename $pc`
|
2009-11-02 17:27:05 +00:00
|
|
|
cat $pc > ${SYSROOT_DESTDIR}${PKG_CONFIG_DIR}/$pcname
|
2009-06-12 15:02:13 +00:00
|
|
|
done
|
|
|
|
}
|