mirror of https://github.com/KLayout/klayout.git
Different approach to exclude libgit2 for pymod
This commit is contained in:
parent
2c37ecdf7c
commit
9d589b38f5
1
setup.py
1
setup.py
|
|
@ -423,7 +423,6 @@ class Config(object):
|
||||||
("HAVE_CURL", 1),
|
("HAVE_CURL", 1),
|
||||||
("HAVE_EXPAT", 1),
|
("HAVE_EXPAT", 1),
|
||||||
("HAVE_PNG", 1),
|
("HAVE_PNG", 1),
|
||||||
("HAVE_GIT2", 0),
|
|
||||||
("KLAYOUT_MAJOR_VERSION", self.major_version()),
|
("KLAYOUT_MAJOR_VERSION", self.major_version()),
|
||||||
("KLAYOUT_MINOR_VERSION", self.minor_version()),
|
("KLAYOUT_MINOR_VERSION", self.minor_version()),
|
||||||
("GSI_ALIAS_INSPECT", 1),
|
("GSI_ALIAS_INSPECT", 1),
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,7 @@
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#if defined(HAVE_GIT2)
|
||||||
|
|
||||||
#include "tlGit.h"
|
#include "tlGit.h"
|
||||||
#include "tlFileUtils.h"
|
#include "tlFileUtils.h"
|
||||||
|
|
@ -396,3 +397,5 @@ GitObject::download_item (const std::string &url, const std::string &file, const
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue