index 85fe414382..77190a7053 100644
--- a/autosetup/sqlite-config.tcl
+++ b/autosetup/sqlite-config.tcl
-@@ -274,6 +274,14 @@ proc sqlite-configure {buildMode configScript} {
+@@ -287,6 +287,14 @@ proc sqlite-configure {buildMode configScript} {
}
}
# Options for ICU: International Components for Unicode
icu {
{*} {
-@@ -641,7 +649,7 @@ proc sqlite-check-common-system-deps {} {
+@@ -656,7 +664,7 @@ proc sqlite-check-common-system-deps {} {
string.h strings.h \
inttypes.h
+++ /dev/null
-From 87c807c6dd4df67328919fa28e89a06839e634fe Mon Sep 17 00:00:00 2001
-From: stephan <stephan@noemail.net>
-Date: Sun, 22 Jun 2025 22:48:11 +0000
-Subject: [PATCH] Add the --disable-rpath configure script flag to address
- [forum:13cac3b56516f849 | forum post 13cac3b56516f849].
-
-FossilOrigin-Name: a59d9bb25e518f5d79f654615b92f6c50cfb704b5abee0f820912644b89366c5
-
-Upstream-Status: Backport [https://github.com/sqlite/sqlite/commit/87c807c6dd4df67328919fa28e89a06839e634fe]
-Signed-off-by: Peter Marko <peter.marko@siemens.com>
----
- autosetup/sqlite-config.tcl | 18 +++++++++---------
- 1 file changed, 9 insertions(+), 9 deletions(-)
-
-diff --git a/autosetup/sqlite-config.tcl b/autosetup/sqlite-config.tcl
-index bb81123204..4dd065095e 100644
---- a/autosetup/sqlite-config.tcl
-+++ b/autosetup/sqlite-config.tcl
-@@ -334,8 +334,8 @@ proc sqlite-configure {buildMode configScript} {
- => {Link the sqlite3 shell app against the DLL instead of embedding sqlite3.c}
- }
- {canonical autoconf} {
-- # A potential TODO without a current use case:
-- #rpath=1 => {Disable use of the rpath linker flag}
-+ rpath=1 => {Disable use of the rpath linker flag}
-+
- # soname: https://sqlite.org/src/forumpost/5a3b44f510df8ded
- soname:=legacy
- => {SONAME for libsqlite3.so. "none", or not using this flag, sets no
-@@ -2119,7 +2119,6 @@ proc sqlite-handle-tcl {} {
- ########################################################################
- # Handle the --enable/disable-rpath flag.
- proc sqlite-handle-rpath {} {
-- proj-check-rpath
- # autosetup/cc-shared.tcl sets the rpath flag definition in
- # [get-define SH_LINKRPATH], but it does so on a per-platform basis
- # rather than as a compiler check. Though we should do a proper
-@@ -2128,12 +2127,13 @@ proc sqlite-handle-rpath {} {
- # for which sqlite-env-is-unix-on-windows returns a non-empty
- # string.
-
--# if {[proj-opt-truthy rpath]} {
--# proj-check-rpath
--# } else {
--# msg-result "Disabling use of rpath."
--# define LDFLAGS_RPATH ""
--# }
-+ # https://sqlite.org/forum/forumpost/13cac3b56516f849
-+ if {[proj-opt-truthy rpath]} {
-+ proj-check-rpath
-+ } else {
-+ msg-result "Disabling use of rpath."
-+ define LDFLAGS_RPATH ""
-+ }
- }
-
- ########################################################################