Fix Windows build
This commit is contained in:
parent
a87decff0e
commit
40f5227064
|
|
@ -18,7 +18,7 @@ fn main() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if target.contains("win32") || target.contains("win64") || target.contains("i386-pc-windows-gnu") || target.contains("x86_64-pc-windows-gnu") {
|
if target.contains("win32") || target.contains("win64") || target.contains("i686-pc-windows-gnu") || target.contains("x86_64-pc-windows-gnu") {
|
||||||
println!("cargo:rustc-flags=-l crypto -l ssl -l gdi32 -l wsock32");
|
println!("cargo:rustc-flags=-l crypto -l ssl -l gdi32 -l wsock32");
|
||||||
// going to assume the user has a new version of openssl
|
// going to assume the user has a new version of openssl
|
||||||
build_old_openssl_shim(false);
|
build_old_openssl_shim(false);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue