sqlite3-cli: use shared library to link sqlite3 binary
authorGaëtan Buchetet <bubuche.pub@free.fr>
Mon, 5 Feb 2018 21:35:20 +0000 (22:35 +0100)
committerKarl Palsson <karlp@etactica.com>
Mon, 19 Feb 2018 11:02:28 +0000 (11:02 +0000)
The sqlite3 binary was linked against the static library of libsqlite3.
It now uses the .so library of the libsqlite3 package. This dropped size
of the sqlite3 binary from 652k to 91k.

Signed-off-by: Gaëtan Buchetet <bubuche.pub@free.fr>
libs/sqlite3/Makefile

index 1f64e5e74af945766130c82fb9eda48dfc584ef2..78228eb03c70a1bc5cc577f185471c584af5be56 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=sqlite
 PKG_VERSION:=3210000
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-autoconf-$(PKG_VERSION).tar.gz
 PKG_HASH:=d7dd516775005ad87a57f428b6f86afd206cb341722927f104d3f0cf65fbbbe3
@@ -91,7 +91,8 @@ endif
 CONFIGURE_ARGS += \
        --enable-shared \
        --enable-static \
-       --disable-editline
+       --disable-editline \
+       --disable-static-shell
 
 CONFIGURE_VARS += \
        config_BUILD_CC="$(HOSTCC)" \