Merge pull request #47 from tomaka/msvc

Fix platform-specific dependencies with MSVC
This commit is contained in:
tomaka 2015-07-04 15:08:34 +02:00
commit 20a1e255c4
1 changed files with 9 additions and 1 deletions

View File

@ -1,7 +1,7 @@
[package]
name = "cpal"
version = "0.0.22"
version = "0.0.23"
authors = ["Pierre Krieger <pierre.krieger1708@gmail.com>"]
description = "Cross-platform audio playing library in pure Rust."
repository = "https://github.com/tomaka/cpal"
@ -20,6 +20,14 @@ ole32-sys = "0.1"
winapi = "0.1.19"
ole32-sys = "0.1"
[target.i686-pc-windows-msvc.dependencies]
winapi = "0.1.19"
ole32-sys = "0.1"
[target.x86_64-pc-windows-msvc.dependencies]
winapi = "0.1.19"
ole32-sys = "0.1"
[target.i686-unknown-linux-gnu.dependencies.alsa-sys]
version = "0"
path = "alsa-sys"