summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-12-08 19:08:01 +0000
committerKoen Kooi <koen@openembedded.org>2007-12-08 19:08:01 +0000
commit5422ce8eb5dd8cf95e843d4b944fe4eb5859eee6 (patch)
tree6b6bb7f13ea2e2d8e06a2738b5cc5ba80d9cab7f
parent9ab421f1ccda2af88b9243b061a5108e7368387f (diff)
pkgconfig.bbclass: also catch ${STAGING_DIR_TARGET}
-rw-r--r--classes/pkgconfig.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/pkgconfig.bbclass b/classes/pkgconfig.bbclass
index 71c00551d9..d2176d8b39 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' -e 's:${STAGING_LIBDIR}:${libdir}:g' -e 's:${STAGING_INCDIR}:${includedir}:g' ${pc}
+ sed -i ${@get_pkgconfig_mangle(d)} -e 's:${D}::g' -e 's:${STAGING_LIBDIR}:${libdir}:g' -e 's:${STAGING_INCDIR}:${includedir}:g' -e 's:${STAGING_DIR_TARGET}:${prefix}:g' ${pc}
done
}