]> git.openpandora.org Git - openembedded.git/commitdiff
Applied patch by Philip Blundell to fix package names in dependencies.
authorFlorian Boor <florian.boor@kernelconcepts.de>
Fri, 22 Jul 2005 21:51:10 +0000 (21:51 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Fri, 22 Jul 2005 21:51:10 +0000 (21:51 +0000)
classes/package.bbclass

index d6a21934049a9d8dd4fde460f82ca25b759cafea..90dfec9fa72ee75dfabdaa6ed42f8aa5e13635a1 100644 (file)
@@ -481,7 +481,8 @@ python package_do_pkgconfig () {
                                                                pkgconfig_needed[pkg] += exp.replace(',', ' ').split()
 
        for pkg in packages.split():
-               pkgs_file = os.path.join(shlibs_dir, pkg + ".pclist")
+               ppkg = bb.data.getVar("PKG_" + pkg, d, 1) or pkg
+               pkgs_file = os.path.join(shlibs_dir, ppkg + ".pclist")
                if os.path.exists(pkgs_file):
                        os.remove(pkgs_file)
                if pkgconfig_provided[pkg] != []: