fix(pyrowave-sys): link user32 on Windows (Granite breadcrumbs MessageBoxA)
MSVC leg of the Phase-0 build gate verified on the windows-amd64 runner (.133): full vendored C++ set compiles under MSVC, static link resolves, API-version pin test green. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -84,6 +84,10 @@ fn main() {
|
|||||||
println!("cargo:rustc-link-lib=dylib=dl");
|
println!("cargo:rustc-link-lib=dylib=dl");
|
||||||
println!("cargo:rustc-link-lib=dylib=pthread");
|
println!("cargo:rustc-link-lib=dylib=pthread");
|
||||||
}
|
}
|
||||||
|
if target_os == "windows" {
|
||||||
|
// Granite's breadcrumbs tracker raises a MessageBoxA on device hang.
|
||||||
|
println!("cargo:rustc-link-lib=dylib=user32");
|
||||||
|
}
|
||||||
|
|
||||||
let bindings = bindgen::Builder::default()
|
let bindings = bindgen::Builder::default()
|
||||||
.header("wrapper.h")
|
.header("wrapper.h")
|
||||||
|
|||||||
Reference in New Issue
Block a user