diff options
-rw-r--r-- | classes/pkgconfig.bbclass | 2 |
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 } |