summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Boor <florian.boor@kernelconcepts.de>2005-07-22 21:51:40 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-07-22 21:51:40 +0000
commitbb93bdf4d67da4286ca0ee5e27c13ba5fd920894 (patch)
treee8b342ec11070dfb879c372888e28a97d73a3150
parentf7e9ae1af04932be476d3b28b0810e3192a4de2f (diff)
parent851577d23d9339308345f8a33d025af0bce5f18d (diff)
merge of 174d7040f322a50d144d696708459641e213eeec
and 7451db578b00df1d8e09247d9ce5a4a05af0bdfe
-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] != []: