Call LoadLibraryA on DllMain to fix crash

This commit is contained in:
Dimitris Zervas
2023-05-27 21:45:02 +03:00
parent d65438091f
commit 14e6572521
3 changed files with 6 additions and 2 deletions

View File

@@ -33,5 +33,6 @@ fn main() {
// println!("cargo:rustc-link-lib=dylib={}-orig", lib_name);
}
println!("cargo:warning=Expected library name: {}-orig.dll", lib_name);
println!("cargo:rustc-env=LIB_NAME={}-orig.dll", lib_name);
}
}