Enable it only if x11 is in distro features Ensure patch to X includes/libs is pointing into sysroot otherwise it starts to poke at build systems includes/libs dirs
Signed-off-by: Khem Raj <[email protected]> --- meta-oe/recipes-extended/dialog/dialog_1.3-20200327.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta-oe/recipes-extended/dialog/dialog_1.3-20200327.bb b/meta-oe/recipes-extended/dialog/dialog_1.3-20200327.bb index 5ac9b89020..4c3177c05f 100644 --- a/meta-oe/recipes-extended/dialog/dialog_1.3-20200327.bb +++ b/meta-oe/recipes-extended/dialog/dialog_1.3-20200327.bb @@ -18,6 +18,10 @@ S = "${WORKDIR}/dialog-${PV}" inherit autotools-brokensep pkgconfig +PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" + +PACKAGECONFIG[x11] = "--with-x --x-includes=${STAGING_INCDIR} --x-libraries=${STAGING_LIBDIR},--without-x,virtual/libx11" + EXTRA_OECONF = "--with-ncurses \ --disable-rpath-hack" -- 2.28.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#86287): https://lists.openembedded.org/g/openembedded-devel/message/86287 Mute This Topic: https://lists.openembedded.org/mt/76155358/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
