From: Nita Vesa Date: Wed, 30 Mar 2022 07:26:02 +0000 (+0300) Subject: gensio: Fix circular dependency error X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=ea3ad6b0909b2f5d8a8dcbc4e866c9ed22f3fb10;p=openwrt-packages.git gensio: Fix circular dependency error Adding libsctp adds IPV6 dependency to gensio, so this patch is an attempt at working around that with the goal of getting rid of the circular dependency error. Signed-off-by: Nita Vesa --- diff --git a/net/gensio/Config.in b/net/gensio/Config.in index 58bdf1eea..f5fedad10 100644 --- a/net/gensio/Config.in +++ b/net/gensio/Config.in @@ -9,7 +9,7 @@ default n config GENSIO_SCTP - depends on PACKAGE_libgensio + depends on PACKAGE_libgensio && IPV6 bool "Enable SCTP-support via libsctp" default n diff --git a/net/gensio/Makefile b/net/gensio/Makefile index 1895d4e8a..dd80e4b81 100644 --- a/net/gensio/Makefile +++ b/net/gensio/Makefile @@ -93,7 +93,7 @@ $(call Package/gensio/Default) CATEGORY:=Libraries ABI_VERSION:=0 MENU:=1 - DEPENDS:=+GENSIO_SSL:libopenssl +GENSIO_WRAP:libwrap +GENSIO_SCTP:libsctp +GENSIO_PTHREADS:libpthread +GENSIO_AVAHI:libavahi-client +GENSIO_TCL:tcl +GENSIO_GLIB:glib2 +GENSIO_SSHD:libpam + DEPENDS:=+GENSIO_SSL:libopenssl +GENSIO_WRAP:libwrap +(IPV6&&GENSIO_SCTP):libsctp +GENSIO_PTHREADS:libpthread +GENSIO_AVAHI:libavahi-client +GENSIO_TCL:tcl +GENSIO_GLIB:glib2 +GENSIO_SSHD:libpam endef define Package/libgensio/description