summaryrefslogtreecommitdiffstats
path: root/package/sqlite/sqlite.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/sqlite/sqlite.mk')
-rw-r--r--package/sqlite/sqlite.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/sqlite/sqlite.mk b/package/sqlite/sqlite.mk
index 5fc1e9e923..c20e7828e6 100644
--- a/package/sqlite/sqlite.mk
+++ b/package/sqlite/sqlite.mk
@@ -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
OpenPOWER on IntegriCloud