sqlite: Disable dynamic extention if static library is seleted

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Sonic Zhang 2013-11-04 17:49:44 +08:00 committed by Peter Korsgaard
parent c4ea640455
commit bd56cd6b4c
1 changed files with 4 additions and 0 deletions

View File

@ -42,6 +42,10 @@ SQLITE_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) $(SQLITE_CFLAGS)"
SQLITE_CONF_OPT = \
--localstatedir=/var
ifeq ($(BR2_PREFER_STATIC_LIB),y)
SQLITE_CONF_OPT += --enable-dynamic-extensions=no
endif
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
SQLITE_CONF_OPT += --enable-threadsafe
else