Commit 4ec4988c authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

makedep: Use winebuild to build cross compiled static libraries.

parent c0467a14
......@@ -3382,12 +3382,12 @@ static void output_static_lib( struct makefile *make )
char *name = replace_extension( make->staticlib, ".a", ".cross.a" );
strarray_add( &make->all_targets, name );
output( "%s:", obj_dir_path( make, name ));
output( "%s: %s", obj_dir_path( make, name ), tools_path( make, "winebuild" ));
output_filenames_obj_dir( make, make->crossobj_files );
output( "\n\trm -f $@\n" );
output( "\t%s-ar rc $@", crosstarget );
output( "\n" );
output( "\t%s -b %s -w --staticlib -o $@", tools_path( make, "winebuild" ), crosstarget );
output_filenames_obj_dir( make, make->crossobj_files );
output( "\n\t%s-ranlib $@\n", crosstarget );
output( "\n" );
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment