config BR2_PACKAGE_GLIB_NETWORKING
	bool "glib-networking"
	depends on BR2_USE_WCHAR # glib2
	depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
	depends on BR2_USE_MMU # glib2
	depends on !BR2_STATIC_LIBS
	select BR2_PACKAGE_LIBGLIB2
	select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_GNUTLS
	select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL if !BR2_PACKAGE_GNUTLS
	select BR2_PACKAGE_P11_KIT if BR2_PACKAGE_GNUTLS
	help
	  Network-related GIO modules for glib.

	  https://gitlab.gnome.org/GNOME/glib-networking

comment "glib-networking needs a toolchain w/ wchar, threads, dynamic library"
	depends on BR2_USE_MMU
	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
		BR2_STATIC_LIBS
