diff options
| author | Quentin Baradat <[email protected]> | 2015-02-11 21:29:07 +0100 |
|---|---|---|
| committer | Quentin Baradat <[email protected]> | 2015-02-11 21:29:07 +0100 |
| commit | e11bfa6f0cfa7e49f3f7fd0af8f2222b7293b230 (patch) | |
| tree | ec54fc307215c7cba24e8d2815eba8110ab6a1fb | |
| parent | Fix the target for windows (diff) | |
| download | rust-openssl-e11bfa6f0cfa7e49f3f7fd0af8f2222b7293b230.tar.xz rust-openssl-e11bfa6f0cfa7e49f3f7fd0af8f2222b7293b230.zip | |
Fix a bad fix :)
| -rw-r--r-- | openssl-sys/build.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/openssl-sys/build.rs b/openssl-sys/build.rs index 90e65341..5cfe9b4f 100644 --- a/openssl-sys/build.rs +++ b/openssl-sys/build.rs @@ -42,12 +42,12 @@ fn build_old_openssl_shim(is_old: bool) { let mut config: gcc::Config = Default::default(); if is_old { config.definitions.push(("OLD_OPENSSL".to_string(), None)); + } - gcc::compile_library("libold_openssl_shim.a", + gcc::compile_library("libold_openssl_shim.a", &config, &["src/old_openssl_shim.c"]); - let out_dir = env::var_string("OUT_DIR").unwrap(); - println!("cargo:rustc-flags=-L native={} -l old_openssl_shim:static", out_dir); - } + let out_dir = env::var_string("OUT_DIR").unwrap(); + println!("cargo:rustc-flags=-L native={} -l old_openssl_shim:static", out_dir); } |