diff options
author | Sonic Zhang <sonic.zhang@analog.com> | 2013-11-04 17:49:44 +0800 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2013-11-04 22:46:56 +0100 |
commit | bd56cd6b4cc75511ffacfe020a8de3c1aad44fc9 (patch) | |
tree | 5891f0a8f870f3333756d009cec86680dcf78396 /package/sqlite/sqlite.mk | |
parent | c4ea640455a67ff4e355c286462ae15e7eb13f74 (diff) | |
download | buildroot-bd56cd6b4cc75511ffacfe020a8de3c1aad44fc9.tar.gz buildroot-bd56cd6b4cc75511ffacfe020a8de3c1aad44fc9.zip |
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>
Diffstat (limited to 'package/sqlite/sqlite.mk')
-rw-r--r-- | package/sqlite/sqlite.mk | 4 |
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 |