aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Fackler <[email protected]>2015-02-09 00:04:44 -0800
committerSteven Fackler <[email protected]>2015-02-09 00:04:44 -0800
commit2682d4f2badb6248668c63cc2b4dc949997c3b10 (patch)
tree9c2b356e0932828985d83b80e357225b060bdb87
parentRelease v0.3.2 (diff)
downloadrust-openssl-2682d4f2badb6248668c63cc2b4dc949997c3b10.tar.xz
rust-openssl-2682d4f2badb6248668c63cc2b4dc949997c3b10.zip
Always build shim
-rw-r--r--openssl-sys/build.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/openssl-sys/build.rs b/openssl-sys/build.rs
index f7b7463f..a27f5e77 100644
--- a/openssl-sys/build.rs
+++ b/openssl-sys/build.rs
@@ -15,11 +15,15 @@ fn main() {
(instructions in the README) and provide their location through \
$OPENSSL_PATH.");
println!("cargo:rustc-flags=-L native={} -l crypto:static -l ssl:static", path);
+ // going to assume the user built a new version of openssl
+ build_old_openssl_shim(false);
return;
}
if target.contains("win32") || target.contains("win64") {
println!("cargo:rustc-flags=-l crypto -l ssl -l gdi32 -l wsock32");
+ // going to assume the user has a new version of openssl
+ build_old_openssl_shim(false);
return;
}