summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 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
13inherit autotools-brokensep pkgconfig 13inherit autotools-brokensep pkgconfig
14 14
15EXTRA_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.
18do_install_prepend() { 20do_install_prepend() {
19 export PREFIX=${prefix}
20 export INSTALL='cp -r' 21 export INSTALL='cp -r'
21} 22}