aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrea Galbusera <gizero@gmail.com>2017-11-16 19:05:53 +0100
committerArmin Kuster <akuster808@gmail.com>2018-02-01 07:32:03 -0800
commit45a874acf8935d5935874d814be434a0fcd20471 (patch)
tree8509754864af91896384d65ace62710b28cdc69e
parent52bdf26f3907975330b2c00cd6ef2ff73510e3f2 (diff)
downloadmeta-openembedded-contrib-45a874acf8935d5935874d814be434a0fcd20471.tar.gz
meta-openembedded-contrib-45a874acf8935d5935874d814be434a0fcd20471.tar.bz2
meta-openembedded-contrib-45a874acf8935d5935874d814be434a0fcd20471.zip
hiredis: fix paths in pkgconfig conf file
Set PREFIX via EXTRA_OEMAKE instead of exporting it in do_install_prepend(): than ensuring the correct prefix gets into hiredis.pc, which is generated by upstream makefile at do_compile() time. Signed-off-by: Andrea Galbusera <gizero@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> (cherry picked from commit 73ac0e419a6c78dfc68a34a0675c525bc6f01271) Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-oe/recipes-extended/hiredis/hiredis_0.13.1.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-oe/recipes-extended/hiredis/hiredis_0.13.1.bb b/meta-oe/recipes-extended/hiredis/hiredis_0.13.1.bb
index 96b86f9a0c..fae30d771d 100644
--- a/meta-oe/recipes-extended/hiredis/hiredis_0.13.1.bb
+++ b/meta-oe/recipes-extended/hiredis/hiredis_0.13.1.bb
@@ -12,10 +12,11 @@ S = "${WORKDIR}/git"
inherit autotools-brokensep pkgconfig
+EXTRA_OEMAKE = "PREFIX=${prefix}"
+
# By default INSTALL variable in Makefile is equal to 'cp -a', which preserves
# ownership and causes host-user-contamination QA issue.
# And PREFIX defaults to /usr/local.
do_install_prepend() {
- export PREFIX=${prefix}
export INSTALL='cp -r'
}