projects
/
buildroot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4ea640
)
sqlite: Disable dynamic extention if static library is seleted
author
Sonic Zhang
<sonic.zhang@analog.com>
Mon, 4 Nov 2013 09:49:44 +0000
(17:49 +0800)
committer
Peter Korsgaard
<peter@korsgaard.com>
Mon, 4 Nov 2013 21:46:56 +0000
(22:46 +0100)
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/sqlite/sqlite.mk
patch
|
blob
|
history
diff --git
a/package/sqlite/sqlite.mk
b/package/sqlite/sqlite.mk
index 5fc1e9e923fc5fea19c51d4b211e1d628b0a67bc..c20e7828e6729d33facac6a757e4f4f6120c1956 100644
(file)
--- 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