summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorFlorian Boor <florian.boor@kernelconcepts.de>2005-07-22 21:51:10 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-07-22 21:51:10 +0000
commit851577d23d9339308345f8a33d025af0bce5f18d (patch)
tree90e0a6c6b9b4ae03d831184016bf018595faf37c /classes
parent84584be160dc89d9d06ea6e0f1f654b351d494d3 (diff)
Applied patch by Philip Blundell to fix package names in dependencies.
Diffstat (limited to 'classes')
-rw-r--r--classes/package.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/package.bbclass b/classes/package.bbclass
index d6a2193404..90dfec9fa7 100644
--- a/classes/package.bbclass
+++ b/classes/package.bbclass
@@ -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] != []: