Add new feature pkg-config: Enable linking with sys packages

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2022-07-23 19:26:12 +10:00
parent 818f4da577
commit 6c09cb05c9
No known key found for this signature in database
GPG key ID: 591C0B03040416D6
2 changed files with 2 additions and 0 deletions

1
Cargo.lock generated
View file

@ -1789,4 +1789,5 @@ checksum = "fc49afa5c8d634e75761feda8c592051e7eeb4683ba827211eb0d731d3402ea8"
dependencies = [
"cc",
"libc",
"pkg-config",
]

View file

@ -72,6 +72,7 @@ guess_host_triple = "0.1.3"
default = ["static"]
mimalloc = ["dep:mimalloc"]
static = ["bzip2/static", "xz2/static"]
pkg-config = ["zstd/pkg-config"]
[dev-dependencies]
env_logger = "0.9.0"