me
/
guix
Archived
1
0
Fork 0

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
master
Efraim Flashner 2024-03-27 17:26:49 +02:00
parent acdac1c47e
commit c885902f56
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 1 additions and 0 deletions

View File

@ -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")