gensio: fix build of Python binding (refs #20604)

We need the host build of swig only.

And the binding uses libgensiocpp - not the plain
C library, so fix the dependency.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
This commit is contained in:
Michael Heimpold 2023-03-14 20:58:04 +01:00
parent 15af23b011
commit 5b3575eba1
1 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ PKG_CONFIG_DEPENDS:= \
CONFIG_GENSIO_TCL \
CONFIG_GENSIO_SSHD
PKG_BUILD_DEPENDS:=PACKAGE_python3-gensio:swig
PKG_BUILD_DEPENDS:=PACKAGE_python3-gensio:swig/host
include $(INCLUDE_DIR)/package.mk
include ../../lang/python/python3-package.mk
@ -132,7 +132,7 @@ $(call Package/gensio/Default)
TITLE+= (Python3-bindings)
SECTION:=lang
CATEGORY:=Languages
DEPENDS:=+PACKAGE_python3-gensio:python3-light +libgensio
DEPENDS:=+PACKAGE_python3-gensio:python3-light +libgensiocpp
endef
define Package/python3-gensio/description