mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
xorg-lib: allow native building without x11 DISTRO_FEATURES
The Xorg libraries use REQUIRED_DISTRO_FEATURES to stop building on distributions without the x11 feature but this stops people building native tooling that uses libX11, such as libsdl-native. (From OE-Core rev: 161bb3409edee21827cf594cc011fe88185f1496) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
4cba706801
commit
d6e7b5b1b1
@@ -29,6 +29,7 @@ inherit autotools pkgconfig distro_features_check
|
|||||||
|
|
||||||
# The libxau and others requires x11 in DISTRO_FEATURES
|
# The libxau and others requires x11 in DISTRO_FEATURES
|
||||||
REQUIRED_DISTRO_FEATURES = "x11"
|
REQUIRED_DISTRO_FEATURES = "x11"
|
||||||
|
REQUIRED_DISTRO_FEATURES_class-native = ""
|
||||||
|
|
||||||
python populate_packages_prepend () {
|
python populate_packages_prepend () {
|
||||||
do_split_packages(d, '${libdir}', '^libxcb-(.*)\.so\..*$', 'libxcb-%s', 'XCB library module for %s', allow_links=True)
|
do_split_packages(d, '${libdir}', '^libxcb-(.*)\.so\..*$', 'libxcb-%s', 'XCB library module for %s', allow_links=True)
|
||||||
|
|||||||
@@ -24,3 +24,4 @@ UNKNOWN_CONFIGURE_WHITELIST += "--enable-malloc0returnsnull --disable-malloc0ret
|
|||||||
"
|
"
|
||||||
|
|
||||||
REQUIRED_DISTRO_FEATURES ?= "x11"
|
REQUIRED_DISTRO_FEATURES ?= "x11"
|
||||||
|
REQUIRED_DISTRO_FEATURES_class-native = ""
|
||||||
|
|||||||
Reference in New Issue
Block a user