From 321673278f51aee4f72012f77b7a58fa351a885e Mon Sep 17 00:00:00 2001 From: Paul Lietar Date: Fri, 24 Feb 2017 16:57:44 +0000 Subject: [PATCH] Mark alsa-sys as linking to alsa The build script requires pkg-config, which isn't available when cross compiling. Mark alsa-sys as linking to alsa allows cargo configuration to bypass the build script. cf http://doc.crates.io/build-script.html#the-links-manifest-key --- alsa-sys/Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/alsa-sys/Cargo.toml b/alsa-sys/Cargo.toml index 1b6dece..cfda239 100644 --- a/alsa-sys/Cargo.toml +++ b/alsa-sys/Cargo.toml @@ -5,6 +5,7 @@ authors = ["Pierre Krieger "] build = "build.rs" description = "Bindings for the ALSA project (Advanced Linux Sound Architecture)" license = "MIT" +links = "alsa" [dependencies] libc = "0.2.7"