gensio: fix build of Python binding (refs #20604)
authorMichael Heimpold <mhei@heimpold.de>
Tue, 14 Mar 2023 19:58:04 +0000 (20:58 +0100)
committerMichael Heimpold <mhei@heimpold.de>
Wed, 15 Mar 2023 06:32:29 +0000 (07:32 +0100)
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>
net/gensio/Makefile

index 2744a2acca91fc4bb1472a0e5f75107b9ea0bd93..f9d6ccc9dcc6d4b1d5d83e4e9ca183a905e7dc2b 100644 (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