Skip to content

Commit ff62f95

Browse files
committed
Auto merge of #1405 - alexcrichton:issue-1401, r=alexcrichton
This should inadvertently fix #1401
2 parents cb21229 + 7756fe6 commit ff62f95

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

configure

+2-2
Original file line numberDiff line numberDiff line change
@@ -374,12 +374,12 @@ if [ ! -z "$CFG_ENABLE_NIGHTLY" ]; then
374374
mkdir -p .cargo
375375
cat > .cargo/config <<-EOF
376376
[target.x86_64-unknown-linux-gnu.openssl]
377-
rustc-flags = "-l ssl:static -l crypto:static -l dl -L /home/rustbuild/root64/lib"
377+
rustc-flags = "-l static=ssl -l static=crypto -l dl -L /home/rustbuild/root64/lib"
378378
root = "/home/rustbuild/root64"
379379
include = "/home/rustbuild/root64/include"
380380
381381
[target.i686-unknown-linux-gnu.openssl]
382-
rustc-flags = "-l ssl:static -l crypto:static -l dl -L /home/rustbuild/root32/lib"
382+
rustc-flags = "-l static=ssl -l static=crypto -l dl -L /home/rustbuild/root32/lib"
383383
root = "/home/rustbuild/root32"
384384
include = "/home/rustbuild/root32/include"
385385
EOF

tests/test_cargo_compile_custom_build.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,7 @@ test!(output_separate_lines {
835835
.file("build.rs", r#"
836836
fn main() {
837837
println!("cargo:rustc-flags=-L foo");
838-
println!("cargo:rustc-flags=-l foo:static");
838+
println!("cargo:rustc-flags=-l static=foo");
839839
}
840840
"#);
841841
assert_that(p.cargo_process("build").arg("-v"),
@@ -844,7 +844,7 @@ test!(output_separate_lines {
844844
{compiling} foo v0.5.0 (file://[..])
845845
{running} `rustc build.rs [..]`
846846
{running} `[..]foo-[..]build-script-build[..]`
847-
{running} `rustc [..] --crate-name foo [..] -L foo -l foo:static`
847+
{running} `rustc [..] --crate-name foo [..] -L foo -l static=foo`
848848
", compiling = COMPILING, running = RUNNING)));
849849
});
850850

0 commit comments

Comments
 (0)