From bd56cd6b4cc75511ffacfe020a8de3c1aad44fc9 Mon Sep 17 00:00:00 2001 From: Sonic Zhang Date: Mon, 4 Nov 2013 17:49:44 +0800 Subject: [PATCH] sqlite: Disable dynamic extention if static library is seleted Signed-off-by: Sonic Zhang Signed-off-by: Peter Korsgaard --- package/sqlite/sqlite.mk | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.30.2