Add alsa-sys library
This commit is contained in:
parent
f94eea9eb1
commit
cf70b766f5
|
@ -16,5 +16,13 @@ git = "https://github.com/tomaka/winapi-rs"
|
||||||
branch = "mmdeviceapi"
|
branch = "mmdeviceapi"
|
||||||
features = ["ole32"]
|
features = ["ole32"]
|
||||||
|
|
||||||
|
[target.i686-unknown-linux-gnu.dependencies.alsa-sys]
|
||||||
|
version = "*"
|
||||||
|
path = "alsa-sys"
|
||||||
|
|
||||||
|
[target.x86_64-unknown-linux-gnu.dependencies.alsa-sys]
|
||||||
|
version = "*"
|
||||||
|
path = "alsa-sys"
|
||||||
|
|
||||||
[dev-dependencies.vorbis]
|
[dev-dependencies.vorbis]
|
||||||
git = "https://github.com/tomaka/vorbis-rs"
|
git = "https://github.com/tomaka/vorbis-rs"
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
/target
|
||||||
|
/Cargo.lock
|
||||||
|
.cargo/
|
|
@ -0,0 +1,9 @@
|
||||||
|
[package]
|
||||||
|
|
||||||
|
name = "alsa-sys"
|
||||||
|
version = "0.0.1"
|
||||||
|
authors = ["Pierre Krieger <pierre.krieger1708@gmail.com>"]
|
||||||
|
build = "build.rs"
|
||||||
|
|
||||||
|
[build-dependencies]
|
||||||
|
pkg-config = "*"
|
|
@ -0,0 +1,5 @@
|
||||||
|
extern crate "pkg-config" as pkg_config;
|
||||||
|
|
||||||
|
fn main() {
|
||||||
|
pkg_config::find_library("alsa").unwrap();
|
||||||
|
}
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue