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
This commit is contained in:
Paul Lietar 2017-02-24 16:57:44 +00:00 committed by GitHub
parent 37cc8f5e64
commit 321673278f
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@ authors = ["Pierre Krieger <pierre.krieger1708@gmail.com>"]
build = "build.rs"
description = "Bindings for the ALSA project (Advanced Linux Sound Architecture)"
license = "MIT"
links = "alsa"
[dependencies]
libc = "0.2.7"