diff options
author | Andrea Galbusera <gizero@gmail.com> | 2017-11-16 19:05:53 +0100 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2017-11-30 09:13:32 -0800 |
commit | 73ac0e419a6c78dfc68a34a0675c525bc6f01271 (patch) | |
tree | 25ff92c805af56ff6620384f55bcbd3b50fba48c /meta-oe/recipes-extended | |
parent | a700bb554f26e04ab340f8942f4c212b3602f1a3 (diff) | |
download | meta-openembedded-73ac0e419a6c78dfc68a34a0675c525bc6f01271.tar.gz |
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>
Diffstat (limited to 'meta-oe/recipes-extended')
-rw-r--r-- | meta-oe/recipes-extended/hiredis/hiredis_0.13.1.bb | 3 |
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 96b86f9a0..fae30d771 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" | |||
12 | 12 | ||
13 | inherit autotools-brokensep pkgconfig | 13 | inherit autotools-brokensep pkgconfig |
14 | 14 | ||
15 | EXTRA_OEMAKE = "PREFIX=${prefix}" | ||
16 | |||
15 | # By default INSTALL variable in Makefile is equal to 'cp -a', which preserves | 17 | # By default INSTALL variable in Makefile is equal to 'cp -a', which preserves |
16 | # ownership and causes host-user-contamination QA issue. | 18 | # ownership and causes host-user-contamination QA issue. |
17 | # And PREFIX defaults to /usr/local. | 19 | # And PREFIX defaults to /usr/local. |
18 | do_install_prepend() { | 20 | do_install_prepend() { |
19 | export PREFIX=${prefix} | ||
20 | export INSTALL='cp -r' | 21 | export INSTALL='cp -r' |
21 | } | 22 | } |