mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 07:51:59 -09:00
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:
committed by
Peter Korsgaard
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
|
||||
|
||||
Reference in New Issue
Block a user