mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 07:57:27 +00:00
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>
This commit is contained in:
committed by
Armin Kuster
parent
a700bb554f
commit
73ac0e419a
@@ -12,10 +12,11 @@ S = "${WORKDIR}/git"
|
|||||||
|
|
||||||
inherit autotools-brokensep pkgconfig
|
inherit autotools-brokensep pkgconfig
|
||||||
|
|
||||||
|
EXTRA_OEMAKE = "PREFIX=${prefix}"
|
||||||
|
|
||||||
# By default INSTALL variable in Makefile is equal to 'cp -a', which preserves
|
# By default INSTALL variable in Makefile is equal to 'cp -a', which preserves
|
||||||
# ownership and causes host-user-contamination QA issue.
|
# ownership and causes host-user-contamination QA issue.
|
||||||
# And PREFIX defaults to /usr/local.
|
# And PREFIX defaults to /usr/local.
|
||||||
do_install_prepend() {
|
do_install_prepend() {
|
||||||
export PREFIX=${prefix}
|
|
||||||
export INSTALL='cp -r'
|
export INSTALL='cp -r'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user