Skip to content

Commit

Permalink
Ask pkg_config not to print system libs
Browse files Browse the repository at this point in the history
Suggested in Fedora Linux package review:

https://bugzilla.redhat.com/show_bug.cgi?id=2249863#c2
  • Loading branch information
musicinmybrain committed Sep 13, 2024
1 parent 016f73d commit 0284573
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lz4-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ fn run() -> Result<(), Box<dyn Error>> {
if !target.contains("windows")
&& !cfg!(feature = "static")
&& pkg_config::Config::new()
.print_system_libs(false)
.cargo_metadata(true)
.probe("liblz4")
.is_ok()
Expand Down

0 comments on commit 0284573

Please sign in to comment.