Unverified Commit 2512c93d authored by Steven Fackler's avatar Steven Fackler Committed by GitHub
Browse files

Merge pull request #936 from sfackler/windows-static

Add back the gdi32-sys dependency on windows
parents 6834b97f 9bf748be
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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 {