config BR2_PACKAGE_LIBGLIB2
	bool "libglib2"
	depends on BR2_USE_WCHAR # gettext
	depends on BR2_TOOLCHAIN_HAS_THREADS
	depends on BR2_USE_MMU # fork()
	select BR2_PACKAGE_HOST_QEMU if BR2_PACKAGE_GOBJECT_INTROSPECTION
	select BR2_PACKAGE_HOST_QEMU_LINUX_USER_MODE if BR2_PACKAGE_GOBJECT_INTROSPECTION
	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
	select BR2_PACKAGE_LIBFFI
	select BR2_PACKAGE_PCRE2
	select BR2_PACKAGE_ZLIB
	help
	  Low-level core library that forms the basis of GTK+ and GNOME.

	  https://www.gtk.org/

comment "libglib2 needs a toolchain w/ wchar, threads"
	depends on BR2_USE_MMU
	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS

source "package/libglib2/libglib2-bootstrap/Config.in"
