summaryrefslogtreecommitdiff
path: root/classes/pkgconfig.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2007-11-17 23:21:03 +0000
committerRichard Purdie <rpurdie@rpsys.net>2007-11-17 23:21:03 +0000
commit4b751ba2557d2e3f448f92589ee0c9d5e30f6388 (patch)
tree1d6d10ef0f954314d31dba063faa454bf33d05f1 /classes/pkgconfig.bbclass
parent702d82aa16bb05d638353677359846af2d125674 (diff)
classes: Sync staging layout cleanups from Poky
Diffstat (limited to 'classes/pkgconfig.bbclass')
-rw-r--r--classes/pkgconfig.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/pkgconfig.bbclass b/classes/pkgconfig.bbclass
index c795c8a709..c50e0b484f 100644
--- a/classes/pkgconfig.bbclass
+++ b/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}:'"
s += " -e 's:-L${WORKDIR}\S*: :g'"
s += " -e 's:-I${WORKDIR}\S*: :g'"