Skip to content

Commit

Permalink
jack-sys: search for jack library with pkg-config
Browse files Browse the repository at this point in the history
This fixes linking with PipeWire's JACK headers.
Fixes #142
  • Loading branch information
Be-ing committed Nov 30, 2021
1 parent 90ab9bd commit b9ae466
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jack-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ license = "MIT OR Apache-2.0"
libc = "0.2"
libloading = "0.6"
lazy_static = "1.4"

[build-dependencies]
pkg-config = "0.3"
3 changes: 3 additions & 0 deletions jack-sys/build.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fn main() {
pkg_config::probe_library("jack").unwrap();
}

0 comments on commit b9ae466

Please sign in to comment.