config BR2_PACKAGE_LIBGIT2
	bool "libgit2"
	depends on !BR2_STATIC_LIBS # libhttpparser
	select BR2_PACKAGE_LIBHTTPPARSER
	select BR2_PACKAGE_ZLIB
	help
	  libgit2 is a portable, pure C implementation of the Git core
	  methods provided as a linkable library with a solid API,
	  allowing to build Git functionality into your application.

	  https://github.com/libgit2/libgit2

comment "libgit2 needs a toolchain w/ dynamic library"
	depends on BR2_STATIC_LIBS
