bandb: add -DSQLITE_OMIT_LOAD_EXTENSION for built-in sqlite

This commit is contained in:
William Pitcock 2016-03-05 21:42:36 -06:00
parent 411c704f4b
commit af6b2ce6fc

View file

@ -3,7 +3,7 @@ bin_PROGRAMS = bantool
AM_CFLAGS=$(WARNFLAGS)
AM_CPPFLAGS = -I../include -I../libratbox/include @SQLITE_INCLUDES@
AM_CPPFLAGS += -DSQLITE_THREADSAFE=0
AM_CPPFLAGS += -DSQLITE_THREADSAFE=0 -DSQLITE_OMIT_LOAD_EXTENSION
bandb_SOURCES = bandb.c rsdb_sqlite3.c rsdb_snprintf.c
EXTRA_bandb_SOURCES = sqlite3.c