File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/bootstrap/src/core/build_steps Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ impl GccOutput {
6969 . map ( |target| target. triple )
7070 . chain ( std:: iter:: once ( host_target) ) ;
7171
72- let target_filename = "libgccjit.so.0 " ;
72+ let target_filename = "libgccjit.so" ;
7373 for target in targets {
7474 let source = source. join ( target) . join ( target_filename) ;
7575 // To support symlinks in libgccjit-libs-dir, we have to resolve it first,
@@ -78,7 +78,7 @@ impl GccOutput {
7878 source. canonicalize( ) ,
7979 format!( "Cannot find libgccjit at {}" , source. display( ) )
8080 ) ;
81- let target_dir = dst. join ( target) ;
81+ let target_dir = dst. join ( "rustlib" ) . join ( target) . join ( "lib" ) ;
8282 t ! (
8383 std:: fs:: create_dir_all( & target_dir) ,
8484 format!( "Cannot create target dir {} for libgccjit" , target_dir. display( ) )
You can’t perform that action at this time.
0 commit comments