From: Sonic Zhang Date: Mon, 4 Nov 2013 09:49:44 +0000 (+0800) Subject: sqlite: Disable dynamic extention if static library is seleted X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bd56cd6b4cc75511ffacfe020a8de3c1aad44fc9;p=buildroot.git sqlite: Disable dynamic extention if static library is seleted Signed-off-by: Sonic Zhang Signed-off-by: Peter Korsgaard --- 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