mirror of
https://github.com/openwrt/packages.git
synced 2026-04-15 19:02:09 +00:00
python-evdev: add mandatory uinput.h header to builder
Starting from 1.9.2 python-evdev requires include/uapi/linux/uinput.h headers for proper building. Otherwise, it compiles but cannot be imported causing KeyError: 'UI_FF' Add uinput.h to LINUX_EVDEV_HEADERS Signed-off-by: Ivan Belokobylskiy <belokobylskij@gmail.com>
This commit is contained in:
committed by
Alexandru Ardelean
parent
a01d2a9440
commit
b016aa38c3
@@ -37,7 +37,7 @@ define Package/python3-evdev/description
|
||||
Bindings to the Linux input handling subsystem
|
||||
endef
|
||||
|
||||
LINUX_EVDEV_HEADERS="$(LINUX_DIR)/include/uapi/linux/input.h:$(LINUX_DIR)/include/uapi/linux/input-event-codes.h"
|
||||
LINUX_EVDEV_HEADERS="$(LINUX_DIR)/include/uapi/linux/input.h:$(LINUX_DIR)/include/uapi/linux/uinput.h:$(LINUX_DIR)/include/uapi/linux/input-event-codes.h"
|
||||
|
||||
PYTHON3_PKG_BUILD_CONFIG_SETTINGS:= \
|
||||
--build-option=build \
|
||||
|
||||
Reference in New Issue
Block a user