[oe-commits] [meta-openembedded] 03/33: hiredis: fix paths in pkgconfig conf file
git at git.openembedded.org
git at git.openembedded.org
Thu Nov 30 16:15:30 UTC 2017
This is an automated email from the git hooks/post-receive script.
armin_kuster pushed a commit to branch master-next
in repository meta-openembedded.
commit 76240ec262f125c6f505bcd0640ff174a7cea977
Author: Andrea Galbusera <gizero at gmail.com>
AuthorDate: Thu Nov 16 19:05:53 2017 +0100
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 at gmail.com>
Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
meta-oe/recipes-extended/hiredis/hiredis_0.13.1.bb | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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 96b86f9..fae30d7 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'
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list