pkgconfig.bbclass: create proper directory
authorMarcin Juszkiewicz <hrw@openedhand.com>
Sat, 9 Jun 2007 08:52:16 +0000 (08:52 +0000)
committerMarcin Juszkiewicz <hrw@openedhand.com>
Sat, 9 Jun 2007 08:52:16 +0000 (08:52 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1900 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/classes/pkgconfig.bbclass

index 416f34b..3d99be6 100644 (file)
@@ -22,7 +22,7 @@ def get_pkgconfig_mangle(d):
 do_stage_append () {
        for pc in `find ${S} -name '*.pc' -type f | grep -v -- '-uninstalled.pc$'`; do
                pcname=`basename $pc`
-               install -d ${PKG_CONFIG_PATH}
+               install -d ${PKG_CONFIG_DIR}
                cat $pc | sed ${@get_pkgconfig_mangle(d)} > ${PKG_CONFIG_DIR}/$pcname
        done
 }