summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-rw-r--r--classes/pkgconfig.oeclass10
1 files changed, 5 insertions, 5 deletions
diff --git a/classes/pkgconfig.oeclass b/classes/pkgconfig.oeclass
index 83f3a3d9f2..d791e626ec 100644
--- a/classes/pkgconfig.oeclass
+++ b/classes/pkgconfig.oeclass
@@ -6,11 +6,11 @@ def get_pkgconfig_mangle(d):
import oe.data
s = "-e ''"
if not oe.data.inherits_class('native', d):
- s += " -e 's:${libdir}:${STAGING_LIBDIR}:;'"
- s += " -e 's:${includedir}:${STAGING_INCDIR}:;'"
- s += " -e 's:${datadir}:${STAGING_DATADIR}:'"
- s += " -e 's:${prefix}:${STAGING_LIBDIR}/..:'"
- s += " -e 's:${exec_prefix}:${STAGING_LIBDIR}/..:'"
+ s += " -e 's:${libdir}$:${STAGING_LIBDIR}:;'"
+ s += " -e 's:${includedir}$:${STAGING_INCDIR}:;'"
+ s += " -e 's:${datadir}$:${STAGING_DATADIR}:'"
+ s += " -e 's:${prefix}$:${STAGING_LIBDIR}/..:'"
+ s += " -e 's:${exec_prefix}$:${STAGING_LIBDIR}/..:'"
return s
do_stage_append () {