mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-26 19:47:17 +00:00
dialog: Turn X11 support into a packageconfig option
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 <raj.khem@gmail.com>
This commit is contained in:
@@ -18,6 +18,10 @@ S = "${WORKDIR}/dialog-${PV}"
|
|||||||
|
|
||||||
inherit autotools-brokensep pkgconfig
|
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 \
|
EXTRA_OECONF = "--with-ncurses \
|
||||||
--disable-rpath-hack"
|
--disable-rpath-hack"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user