Merge pull request #936 from sfackler/windows-static
Add back the gdi32-sys dependency on windows
This commit is contained in:
commit
2512c93df2
|
|
@ -100,6 +100,10 @@ fn main() {
|
|||
for lib in libs.into_iter() {
|
||||
println!("cargo:rustc-link-lib={}={}", kind, lib);
|
||||
}
|
||||
|
||||
if kind == "static" && target.contains("windows") {
|
||||
println!("cargo:rustc-link-lib=dylib=gdi32");
|
||||
}
|
||||
}
|
||||
|
||||
fn find_openssl_dir(target: &str) -> OsString {
|
||||
|
|
|
|||
Loading…
Reference in New Issue