mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
iscsi-initiator-utils: Inherit pkgconfig and override PKG_CONFIG
PKG_CONFIG is hardcoded to /usr/bin/pkg-config which is not cross compile safe and ends up with build errors especially on hosts where pkgconf is used it ends up with errors like /usr/bin/pkg-config: line 11: exec: pkgconf: not found /usr/bin/pkg-config: line 11: exec: pkgconf: not found Override it to use own native pkg-config which can deal with sysroot correctly Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
4f831c84a4
commit
a0cc2d6353
|
|
@ -29,7 +29,7 @@ B = "${WORKDIR}/build"
|
|||
|
||||
PV .= "+git${SRCPV}"
|
||||
|
||||
inherit update-rc.d systemd autotools
|
||||
inherit update-rc.d systemd autotools pkgconfig
|
||||
|
||||
EXTRA_OECONF = " \
|
||||
--target=${TARGET_SYS} \
|
||||
|
|
@ -42,6 +42,7 @@ EXTRA_OEMAKE = ' \
|
|||
BASE="${prefix}" \
|
||||
MANDIR="${mandir}" \
|
||||
OPTFLAGS="-DNO_SYSTEMD ${CFLAGS}" \
|
||||
PKG_CONFIG="${STAGING_BINDIR_NATIVE}/pkg-config" \
|
||||
NO_SYSTEMD=1 \
|
||||
'
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user