Skip to contentSkip to conversation

sqlite: Disable dynamic extention if static library is seleted.

PATCH New Sonic Zhang 2 participants 2 messages Nov 4, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sqlite: Disable dynamic extention if static library is seleted.

From: Sonic Zhang <[email protected]>

---
 package/sqlite/sqlite.mk |    4 ++++
 1 file changed, 4 insertions(+)
package/sqlite/sqlite.mk +4 -0
index 5fc1e9e..c20e782 100644
@@ -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
Signature · 1 line
1.7.9.5