blob: bd5bd81670fb858cf08e5cc6adf65c3bbb7a8cf2 (
plain)
1
2
3
4
5
6
7
8
9
|
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
pcname=`basename $pc`
cat $pc > ${SYSROOT_DESTDIR}${PKG_CONFIG_DIR}/$pcname
done
}
|