sqlite3-cli: use shared library to link sqlite3 binary

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>
This commit is contained in:
Gaëtan Buchetet 2018-02-05 22:35:20 +01:00 committed by Karl Palsson
parent 4b0ed514de
commit 572a717274
1 changed files with 3 additions and 2 deletions

View File

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