From 56e555bc03222b02be85730cbc3b7f38a9435038 Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Sat, 4 Jul 2015 14:13:15 +0200 Subject: [PATCH] Fix platform-specific dependencies with MSVC --- Cargo.toml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index df6dae2..910a1e8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "cpal" -version = "0.0.22" +version = "0.0.23" authors = ["Pierre Krieger "] 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"