From 8d0a1b546799aa96e10b5c6f5f7c7d7da1e5c783 Mon Sep 17 00:00:00 2001 From: Zicklag Date: Sun, 25 Aug 2019 10:36:06 -0500 Subject: [PATCH] Use an Updated Version of coreaudio-sys --- .drone.yml | 3 +-- arsenal_runtime/Cargo.toml | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index dc92f72..19aadd6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -310,9 +310,8 @@ steps: - rustup toolchain add stable-2019-05-23 - rustup default stable-2019-05-23 - rustup target add x86_64-apple-darwin - - export COREAUDIO_FRAMEWORKS_PATH='/System/Library/Frameworks' - > - export COREAUDIO_CFLAGS='-I/System/Library/Frameworks/Kernel.framework/Headers + export BINDGEN_EXTRA_CLANG_ARGS='-I/System/Library/Frameworks/Kernel.framework/Headers -I/build/osxcross/target/SDK/MacOSX10.11.sdk/usr/include' - cargo build --target x86_64-apple-darwin --release diff --git a/arsenal_runtime/Cargo.toml b/arsenal_runtime/Cargo.toml index 96595fd..fe8295b 100644 --- a/arsenal_runtime/Cargo.toml +++ b/arsenal_runtime/Cargo.toml @@ -12,5 +12,5 @@ amethyst_gltf = "0.5" # Use the later version of coreaudio-sys that has support for cross-compiling # for Mac from Linux. [replace.'coreaudio-sys:0.2.2'] -git = "https://github.com/RustAudio/coreaudio-sys.git" -rev = "13a32d7" +git = "https://github.com/glandium/coreaudio-sys.git" +branch = "build-script"