With no SONAME set, when linking against the full library path, that
path will be used. But if SONAME is set, it will be used instead.
Set --soname=legacy to add a SONAME to the library to allow projects
that use full path to link correctly.
Link: https://sqlite.org/src/forumpost/5a3b44f510df8ded
Fixes: https://github.com/openwrt/packages/issues/26449
Signed-off-by: George Sapkin <redacted>
PKG_NAME:=sqlite
PKG_VERSION:=3.49.1
PKG_SRC_VERSION:=3490100
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-autoconf-$(PKG_SRC_VERSION).tar.gz
PKG_SOURCE_URL:=https://www.sqlite.org/2025/
--enable-shared \
--enable-static \
--enable-threadsafe \
+ --soname=legacy \
$(if $(CONFIG_SQLITE3_DYNAMIC_EXTENSIONS),--enable-load-extension,--disable-load-extension) \
$(if $(CONFIG_SQLITE3_FTS3),--enable-fts3,--disable-fts3) \
$(if $(CONFIG_SQLITE3_FTS4),--enable-fts4,--disable-fts4) \