No libgit2 needed for Python module

This commit is contained in:
Matthias Koefferlein 2023-11-01 22:12:32 +01:00
parent a6a958838d
commit 2c37ecdf7c
1 changed files with 2 additions and 4 deletions

View File

@ -422,15 +422,13 @@ class Config(object):
macros = [
("HAVE_CURL", 1),
("HAVE_EXPAT", 1),
("HAVE_PNG", 1),
("HAVE_GIT2", 0),
("KLAYOUT_MAJOR_VERSION", self.major_version()),
("KLAYOUT_MINOR_VERSION", self.minor_version()),
("GSI_ALIAS_INSPECT", 1),
]
if platform.system() == "Darwin" and check_libpng():
macros += [("HAVE_PNG", 1)]
else:
macros += [("HAVE_PNG", 1)]
return macros
def minor_version(self):