From 028457329fbad53904c9cd6b5e105083415481f2 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Wed, 29 Nov 2023 09:50:16 -0500 Subject: [PATCH] Ask pkg_config not to print system libs Suggested in Fedora Linux package review: https://bugzilla.redhat.com/show_bug.cgi?id=2249863#c2 --- lz4-sys/build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/lz4-sys/build.rs b/lz4-sys/build.rs index 30af11e60..c8e68b3e4 100644 --- a/lz4-sys/build.rs +++ b/lz4-sys/build.rs @@ -20,6 +20,7 @@ fn run() -> Result<(), Box> { if !target.contains("windows") && !cfg!(feature = "static") && pkg_config::Config::new() + .print_system_libs(false) .cargo_metadata(true) .probe("liblz4") .is_ok()