mirror of
https://github.com/Universal-Debloater-Alliance/universal-android-debloater-next-generation.git
synced 2026-08-27 15:51:34 +02:00
No longer use of MinGW toolchain (fix #57)
This commit is contained in:
parent
af4d35fe57
commit
4a60606711
1 changed files with 0 additions and 16 deletions
16
build.rs
16
build.rs
|
|
@ -1,16 +0,0 @@
|
|||
use std::env::var;
|
||||
|
||||
fn main() {
|
||||
let target = var("TARGET").unwrap();
|
||||
|
||||
println!("cargo:rerun-if-changed=build.rs");
|
||||
|
||||
if target.contains("windows") && !target.contains("msvc") {
|
||||
println!("cargo:rerun-if-env-changed=WINAPI_NO_BUNDLED_LIBRARIES");
|
||||
println!("cargo:rerun-if-env-changed=WINAPI_STATIC_NOBUNDLE");
|
||||
|
||||
println!("cargo:rustc-link-lib=static=gcc");
|
||||
println!("cargo:rustc-link-lib=static=stdc++");
|
||||
println!("cargo:rustc-link-lib=static=winpthread");
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue