From: George Sapkin Date: Sat, 3 May 2025 07:41:10 +0000 (+0300) Subject: sqlite3: add legacy SONAME X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=53f8aa5c5172e5de2d16d6f9ac83b2acdf1e8f40;p=openwrt-packages.git sqlite3: add legacy SONAME 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 --- diff --git a/libs/sqlite3/Makefile b/libs/sqlite3/Makefile index db2532839..f41bd3a5c 100644 --- a/libs/sqlite3/Makefile +++ b/libs/sqlite3/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk 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/ @@ -107,6 +107,7 @@ CONFIGURE_ARGS := \ --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) \