diff options
author | Terin Stock <terinjokes@gmail.com> | 2022-04-21 02:29:25 -0500 |
---|---|---|
committer | Terin Stock <terinjokes@gmail.com> | 2022-04-21 02:29:25 -0500 |
commit | b1c774848f4208c77e9b8e9930752ec76e213e16 (patch) | |
tree | 7c5df641323e5334a85e3eb317fbdf04b61a9d84 /Makefile | |
parent | Git 2.36 (diff) | |
download | tgif-b1c774848f4208c77e9b8e9930752ec76e213e16.tar.xz |
Makefile: add support for SQLite3
Enables linking git executables against the SQLite3 dataabase engine,
allowing for storing most of the small files of the gitdata directory in
a single database file, and eliminating the need for packfiles.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1438,6 +1438,11 @@ ifdef LIBPCREDIR EXTLIBS += -L$(LIBPCREDIR)/$(lib) $(CC_LD_DYNPATH)$(LIBPCREDIR)/$(lib) endif +ifneq (,$(USE_SQLITE)) + BASIC_CFLAGS += -DUSE_SQLITE + EXTLIBS += -lsqlite3 +endif + ifdef HAVE_ALLOCA_H BASIC_CFLAGS += -DHAVE_ALLOCA_H endif |