summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-12-08 15:34:52 +0000
committerKoen Kooi <koen@openembedded.org>2007-12-08 15:34:52 +0000
commit9ab421f1ccda2af88b9243b061a5108e7368387f (patch)
tree603f98eeeab1679f00caf3dda4cac9fac39481b7 /classes
parentec6d8ac59e769365d9615e7e8e0ce515133e9fa3 (diff)
pkgconfig.bbclass: sed out references to staging as well
Diffstat (limited to 'classes')
-rw-r--r--classes/pkgconfig.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/pkgconfig.bbclass b/classes/pkgconfig.bbclass
index c50e0b484f..71c00551d9 100644
--- a/classes/pkgconfig.bbclass
+++ b/classes/pkgconfig.bbclass
@@ -24,7 +24,7 @@ def get_pkgconfig_mangle(d):
do_install_append () {
for pc in `find ${D} -name '*.pc' -type f | grep -v -- '-uninstalled.pc$'`; do
- sed -i ${@get_pkgconfig_mangle(d)} -e 's:${D}::g' ${pc}
+ sed -i ${@get_pkgconfig_mangle(d)} -e 's:${D}::g' -e 's:${STAGING_LIBDIR}:${libdir}:g' -e 's:${STAGING_INCDIR}:${includedir}:g' ${pc}
done
}