From ea3ad6b0909b2f5d8a8dcbc4e866c9ed22f3fb10 Mon Sep 17 00:00:00 2001 From: Nita Vesa Date: Wed, 30 Mar 2022 10:26:02 +0300 Subject: [PATCH] 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 --- net/gensio/Config.in | 2 +- net/gensio/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/gensio/Config.in b/net/gensio/Config.in index 58bdf1eea7..f5fedad10d 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 1895d4e8a0..dd80e4b815 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