guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

25/61: build-system/cargo: Use system zstd by default.


From: guix-commits
Subject: 25/61: build-system/cargo: Use system zstd by default.
Date: Thu, 28 Mar 2024 12:01:00 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit c4602199d11cc7a8b5158e61834e4bc1a0e4dafc
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Mar 27 17:26:49 2024 +0200

    build-system/cargo: Use system zstd by default.
    
    * guix/build/cargo-build-system.scm (configure): Add an environment
    variable to use pkg-config to find the zstd library.
    
    Change-Id: Id53296c4a18fffd8aa2f2b9e4d52d98ff3486293
---
 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 70ddf063d2..48c5f9d4bf 100644
--- a/guix/build/cargo-build-system.scm
+++ b/guix/build/cargo-build-system.scm
@@ -219,6 +219,7 @@ directory = '" vendor-dir "'") port)
 
   (setenv "LIBGIT2_SYS_USE_PKG_CONFIG" "1")
   (setenv "LIBSSH2_SYS_USE_PKG_CONFIG" "1")
+  (setenv "ZSTD_SYS_USE_PKG_CONFIG" "1")
   (when (assoc-ref inputs "openssl")
     (setenv "OPENSSL_DIR" (assoc-ref inputs "openssl")))
   (when (assoc-ref inputs "gettext")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]