Subject: [bug#77093] [PATCH v4 rust-team 15/22] build/cargo: Use system libsqlite3.

From: Hilton Chain <[email-masked]>
Date: Tue, 29 Apr 2025 00:23:12 +0800

* guix/build/cargo-build-system.scm (configure): Set
LIBSQLITE3_SYS_USE_PKG_CONFIG.

Change-Id: I9a8a5818992ee687ec67abadffef67ce1533c6d3
---
 guix/build/cargo-build-system.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/guix/build/cargo-build-system.scm b/guix/build/cargo-build-system.scm
index c6865e6e81..c25c26fa76 100644
--- a/guix/build/cargo-build-system.scm
+++ b/guix/build/cargo-build-system.scm
@@ -248,6 +248,7 @@ (define* (configure #:key source inputs
     (setenv "CC" (string-append (assoc-ref inputs "gcc") "/bin/gcc")))
 
   (setenv "LIBGIT2_SYS_USE_PKG_CONFIG" "1")
+  (setenv "LIBSQLITE3_SYS_USE_PKG_CONFIG" "1")
   (setenv "LIBSSH2_SYS_USE_PKG_CONFIG" "1")
   (setenv "SODIUM_USE_PKG_CONFIG" "1")
   (setenv "ZSTD_SYS_USE_PKG_CONFIG" "1")
-- 
2.49.0