diff options
Diffstat (limited to 'package/libevdev/libevdev.mk')
-rw-r--r-- | package/libevdev/libevdev.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/package/libevdev/libevdev.mk b/package/libevdev/libevdev.mk index 3a022304c0..fdaceb5cd1 100644 --- a/package/libevdev/libevdev.mk +++ b/package/libevdev/libevdev.mk @@ -15,7 +15,9 @@ LIBEVDEV_DEPENDENCIES = host-pkgconf # Needs Python to generate a header file # We can't rely on the system Python, since it may be too old # (missing argparse in python 2.6) -LIBEVDEV_DEPENDENCIES += host-python +# libevdev build scripts support both python2 and python3, so avoid unneeded +# dependency on host-python. +LIBEVDEV_DEPENDENCIES += $(if $(BR2_PACKAGE_PYTHON3),host-python3,host-python) # package source code coming from git, so it doesn't have generated # configure and Makefile.in |