config BR2_PACKAGE_LIBUV
	bool "libuv"
	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # pthread_barrier_*
	depends on BR2_USE_MMU # fork()
	depends on !BR2_STATIC_LIBS
	depends on BR2_TOOLCHAIN_HAS_SYNC_4
	help
	  libuv is a multi-platform support library with a focus
	  on asynchronous I/O.

	  https://github.com/libuv/libuv

comment "libuv needs a toolchain w/ NPTL, dynamic library"
	depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS
	depends on BR2_USE_MMU
	depends on BR2_TOOLCHAIN_HAS_SYNC_4
