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:
parent
c4ea640455
commit
bd56cd6b4c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user