mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 05:10:20 +00:00
libx11: skip self if x11 not in DISTRO_FEATURES
This stops (most) x11 packages leaking into a non-x11 distro by mistake. Signed-off-by: Phil Blundell <philb@gnu.org> The patch was imported from the oe-core git server (git://git.openembedded.org/openembedded-core) as of commit id 2f94ff4fdb66755ba2448794baea19315ff96273. Signed-off-by: Anders Darander <anders@chargestorm.se> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
committed by
Koen Kooi
parent
f568c3c61e
commit
4edc680bfd
@@ -45,3 +45,8 @@ do_compile_prepend() {
|
||||
cd ../../
|
||||
) || exit 1
|
||||
}
|
||||
|
||||
python () {
|
||||
if not oe.utils.contains ('DISTRO_FEATURES', 'x11', True, False, d):
|
||||
raise bb.parse.SkipPackage("X11 not enabled for this DISTRO")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user