Browse Source

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>
lilik-openwrt-22.03
Gaëtan Buchetet 6 years ago
committed by Karl Palsson
parent
commit
572a717274
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      libs/sqlite3/Makefile

+ 3
- 2
libs/sqlite3/Makefile View 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)" \


Loading…
Cancel
Save