File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -374,12 +374,12 @@ if [ ! -z "$CFG_ENABLE_NIGHTLY" ]; then
374
374
mkdir -p .cargo
375
375
cat > .cargo/config << -EOF
376
376
[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"
378
378
root = "/home/rustbuild/root64"
379
379
include = "/home/rustbuild/root64/include"
380
380
381
381
[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"
383
383
root = "/home/rustbuild/root32"
384
384
include = "/home/rustbuild/root32/include"
385
385
EOF
Original file line number Diff line number Diff line change @@ -835,7 +835,7 @@ test!(output_separate_lines {
835
835
. file( "build.rs" , r#"
836
836
fn main() {
837
837
println!("cargo:rustc-flags=-L foo");
838
- println!("cargo:rustc-flags=-l foo: static");
838
+ println!("cargo:rustc-flags=-l static=foo ");
839
839
}
840
840
"# ) ;
841
841
assert_that( p. cargo_process( "build" ) . arg( "-v" ) ,
@@ -844,7 +844,7 @@ test!(output_separate_lines {
844
844
{compiling} foo v0.5.0 (file://[..])
845
845
{running} `rustc build.rs [..]`
846
846
{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 `
848
848
" , compiling = COMPILING , running = RUNNING ) ) ) ;
849
849
} ) ;
850
850
You can’t perform that action at this time.
0 commit comments