orocos-kdl: strip STAGING_DIR_TARGET prefix from cmake config file

This commit is contained in:
Dominique Hunziker 2017-06-22 10:18:38 +02:00 committed by Lukas Bulwahn
parent 9f6f30d174
commit 67214880a7
1 changed files with 4 additions and 0 deletions

View File

@ -11,6 +11,10 @@ do_install_append() {
# remove sysroot library path from pkgconfig files
sed -i -e 's#${STAGING_INCDIR}#${includedir}#g' \
${D}${libdir}/pkgconfig/*.pc
# remove sysroot library path from cmake config files
sed -i -e 's#${STAGING_DIR_TARGET}##g' \
${D}${datadir}/orocos_kdl/*.cmake
}
FILES_${PN}-dev += "${datadir}/orocos_kdl/*"