diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-03-27 17:26:49 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-07-19 00:44:54 +0300 |
commit | c885902f56b1cd50df964afc74b94e0f1851d72a (patch) | |
tree | e048d7a249567be2966047b54c98f928cce43a42 | |
parent | acdac1c47e2667e48833f4797910e711d5b567e2 (diff) | |
download | guix-c885902f56b1cd50df964afc74b94e0f1851d72a.tar.gz guix-c885902f56b1cd50df964afc74b94e0f1851d72a.zip |
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
-rw-r--r-- | guix/build/cargo-build-system.scm | 1 |
1 files changed, 1 insertions, 0 deletions
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") |