diff --git a/meta-python/recipes-devtools/python/python3-pillow_9.5.0.bb b/meta-python/recipes-devtools/python/python3-pillow_9.5.0.bb index 76b3a82db..7ec43c60d 100644 --- a/meta-python/recipes-devtools/python/python3-pillow_9.5.0.bb +++ b/meta-python/recipes-devtools/python/python3-pillow_9.5.0.bb @@ -30,6 +30,7 @@ RDEPENDS:${PN} += " \ ${PYTHON_PN}-misc \ ${PYTHON_PN}-logging \ ${PYTHON_PN}-numbers \ + ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libxcb', '', d)} \ " RDEPENDS:${PN}-ptest += " \