summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-11-12 11:19:54 +0000
committerRichard Purdie <richard@openedhand.com>2007-11-12 11:19:54 +0000
commit4285b621bfed3cc41a7a07a6ff714175703117ee (patch)
tree4d4de7b5c2707b57fafbe9e43c693a8e53281f63 /meta/classes
parentb176b023acc0d695f75dc7f7635c5def2f2fa5f4 (diff)
downloadopenembedded-core-4285b621bfed3cc41a7a07a6ff714175703117ee.tar.gz
openembedded-core-4285b621bfed3cc41a7a07a6ff714175703117ee.tar.bz2
openembedded-core-4285b621bfed3cc41a7a07a6ff714175703117ee.zip
pkgconfig.bbclass: Fix hardcoded staging layout references
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3121 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/pkgconfig.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/pkgconfig.bbclass b/meta/classes/pkgconfig.bbclass
index 3d99be63ef..e2751d0ef3 100644
--- a/meta/classes/pkgconfig.bbclass
+++ b/meta/classes/pkgconfig.bbclass
@@ -15,8 +15,8 @@ def get_pkgconfig_mangle(d):
s += " -e 's:OELIBDIR:${STAGING_LIBDIR}:;'"
s += " -e 's:OEINCDIR:${STAGING_INCDIR}:;'"
s += " -e 's:OEDATADIR:${STAGING_DATADIR}:'"
- s += " -e 's:OEPREFIX:${STAGING_LIBDIR}/..:'"
- s += " -e 's:OEEXECPREFIX:${STAGING_LIBDIR}/..:'"
+ s += " -e 's:OEPREFIX::${STAGING_DIR_HOST}${layout_prefix}:'"
+ s += " -e 's:OEEXECPREFIX::${STAGING_DIR_HOST}${layout_exec_prefix}:'"
return s
do_stage_append () {