Commit Graph

2 Commits

Author SHA1 Message Date
Nicolas Cavallari
15c3ffabea libgit2: do not use a bundled zlib
libgit2 depends on zlib. If libgit2's build system does not find a
system zlib, then it compiles a bundled version of it, which is not
really great. So instead, add zlib as a mandatory dependency.

Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-06-04 22:45:35 +02:00
Nicolas Cavallari
02f6e638c8 libgit2: new package
Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
[Thomas:
 - Do not select BR2_PACKAGE_ZLIB, because zlib is an optional
   dependency.
 - Handle optional dependencies in a more usual way in libgit2.mk:
   group the addition in _DEPENDENCIES and in _CONF_OPTS for a given
   library together.
 - libgit2 can optionally use libssh2, not libssh.
 - Add the optional dependency on zlib.
 - Always pass USE_ICONV=ON, the detection works perfectly fine, with
   both a C library providing iconv support built-in, and with
   libiconv. If neither provides iconv, it gets disabled automatically
   as expected.
 - Add libiconv as an optional dependency.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-05-20 22:24:37 +02:00