Skip to contentSkip to conversation

python3-evdev: fix host header contamination

PATCH New S. Lockwood-Childs 1 participant 1 message Mar 30, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-evdev: fix host header contamination

The attempt to pass in correct headers was being ignored, because it never got updated after distutils class was removed. Switch to SETUPTOOLS_BUILD_ARGS, which setuptools3 class does pay attention to.

---
 meta-python/recipes-devtools/python/python3-evdev_1.4.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-evdev_1.4.0.bb +1 -1
index 97a8aedd7..ca324c9ae 100644
@@ -11,7 +11,7 @@ do_compile:prepend() {
     rm -rf ${S}/evdev/ecodes.c
 }
 
-DISTUTILS_BUILD_ARGS = "build_ecodes --evdev-headers ${STAGING_DIR_TARGET}/usr/include/linux/input.h:${STAGING_DIR_TARGET}/usr/include/linux/input-event-codes.h"
+SETUPTOOLS_BUILD_ARGS = "build_ecodes --evdev-headers ${STAGING_DIR_TARGET}/usr/include/linux/input.h:${STAGING_DIR_TARGET}/usr/include/linux/input-event-codes.h"
 
 RDEPENDS:${PN} += "\
     ${PYTHON_PN}-ctypes \
Signature · 1 line
2.20.1