diff --git a/package/python-libyang/Config.in b/package/python-libyang/Config.in index 8cf43d7d5..0f432b5d1 100644 --- a/package/python-libyang/Config.in +++ b/package/python-libyang/Config.in @@ -1,6 +1,5 @@ config BR2_PACKAGE_PYTHON_LIBYANG bool "python-libyang" - select BR2_PACKAGE_PYTHON_PIP # buildtime select BR2_PACKAGE_PYTHON_CFFI # runtime help CFFI bindings to libyang. diff --git a/package/python-libyang/python-libyang.mk b/package/python-libyang/python-libyang.mk index 3e50c8c27..618098a85 100644 --- a/package/python-libyang/python-libyang.mk +++ b/package/python-libyang/python-libyang.mk @@ -10,6 +10,8 @@ PYTHON_LIBYANG_SITE = https://files.pythonhosted.org/packages/91/2e/ff13ee16c874 PYTHON_LIBYANG_SETUP_TYPE = setuptools PYTHON_LIBYANG_LICENSE = MIT PYTHON_LIBYANG_LICENSE_FILES = LICENSE +PYTHON_LIBYANG_DEPENDENCIES = python-cython python-cffi HOST_PYTHON_LIBYANG_DEPENDENCIES = host-python-cython host-python-cffi +$(eval $(python-package)) $(eval $(host-python-package))