mirror of
https://github.com/rustdesk/magnum-opus.git
synced 2026-05-19 16:10:32 +00:00
upgrade
This commit is contained in:
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "magnum-opus"
|
name = "magnum-opus"
|
||||||
version = "0.3.4-1"
|
version = "0.3.4-2"
|
||||||
authors = ["Tad Hardesty <tad@platymuus.com>", "Sergey Duck <sergeypechnikov326@gmail.com>"]
|
authors = ["Tad Hardesty <tad@platymuus.com>", "Sergey Duck <sergeypechnikov326@gmail.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
description = "Safe Rust bindings for libopus"
|
description = "Safe Rust bindings for libopus"
|
||||||
@@ -15,4 +15,4 @@ documentation = "https://docs.rs/magnum-opus"
|
|||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
target_build_utils = "0.3"
|
target_build_utils = "0.3"
|
||||||
bindgen = "0.53"
|
bindgen = "0.59"
|
||||||
|
|||||||
@@ -19,10 +19,8 @@ fn find_package(name: &str) -> Vec<PathBuf> {
|
|||||||
"x64-osx".to_owned()
|
"x64-osx".to_owned()
|
||||||
} else if target_os == "windows" {
|
} else if target_os == "windows" {
|
||||||
"x64-windows-static".to_owned()
|
"x64-windows-static".to_owned()
|
||||||
} else if target_os == "android" {
|
|
||||||
format!("{}-android-static", target_arch)
|
|
||||||
} else {
|
} else {
|
||||||
"x64-linux".to_owned()
|
format!("{}-{}", target_arch, target_os)
|
||||||
};
|
};
|
||||||
println!("cargo:info={}", target);
|
println!("cargo:info={}", target);
|
||||||
path.push("installed");
|
path.push("installed");
|
||||||
|
|||||||
Reference in New Issue
Block a user