Different approach to exclude libgit2 for pymod

This commit is contained in:
Matthias Koefferlein 2023-11-01 23:41:28 +01:00
parent 2c37ecdf7c
commit 9d589b38f5
2 changed files with 3 additions and 1 deletions

View File

@ -423,7 +423,6 @@ class Config(object):
("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),

View File

@ -20,6 +20,7 @@
*/
#if defined(HAVE_GIT2)
#include "tlGit.h"
#include "tlFileUtils.h"
@ -396,3 +397,5 @@ GitObject::download_item (const std::string &url, const std::string &file, const
}
}
#endif