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