File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ fn main() {
50
50
}
51
51
52
52
if cfg ! ( feature = "multiple-ciphers" ) {
53
- copy_multiple_ciphers ( & out_dir , & out_path) ;
53
+ copy_multiple_ciphers ( & out_path) ;
54
54
return ;
55
55
}
56
56
@@ -409,16 +409,11 @@ pub fn build_bundled(out_dir: &str, out_path: &Path) {
409
409
println ! ( "cargo:lib_dir={out_dir}" ) ;
410
410
}
411
411
412
- fn copy_multiple_ciphers ( out_dir : & str , out_path : & Path ) {
412
+ fn copy_multiple_ciphers ( out_path : & Path ) {
413
413
let dst = dbg ! ( build_multiple_ciphers( out_path) ) ;
414
414
415
- copy_with_cp (
416
- dbg ! ( dst. join( "build" ) . join( "libsqlite3mc_static.a" ) ) ,
417
- dbg ! ( format!( "{out_dir}/libsqlite3mc.a" ) ) ,
418
- )
419
- . unwrap ( ) ;
420
- println ! ( "cargo:rustc-link-lib=static=sqlite3mc" ) ;
421
- println ! ( "cargo:rustc-link-search={out_dir}" ) ;
415
+ println ! ( "cargo:rustc-link-lib=static=sqlite3mc_static" ) ;
416
+ println ! ( "cargo:rustc-link-search={}" , dst. join( "build" ) . display( ) ) ;
422
417
}
423
418
424
419
fn build_multiple_ciphers ( out_path : & Path ) -> PathBuf {
You can’t perform that action at this time.
0 commit comments