Module: wine Branch: master Commit: 1699847dad88e4a79e850ea70627d2e0603b8f79 URL: https://source.winehq.org/git/wine.git/?a=commit;h=1699847dad88e4a79e850ea70...
Author: Alexandre Julliard julliard@winehq.org Date: Fri Oct 8 16:57:24 2021 +0200
makefiles: Only build static libraries that are needed for linking.
Signed-off-by: Alexandre Julliard julliard@winehq.org
---
tools/makedep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/makedep.c b/tools/makedep.c index bb2201dadb1..c7d08dc21e6 100644 --- a/tools/makedep.c +++ b/tools/makedep.c @@ -3344,7 +3344,7 @@ static void output_module( struct makefile *make ) */ static void output_static_lib( struct makefile *make ) { - strarray_add( &make->all_targets, make->staticlib ); + strarray_add( &make->clean_files, make->staticlib ); output( "%s:", obj_dir_path( make, make->staticlib )); output_filenames_obj_dir( make, make->object_files ); output_filenames_obj_dir( make, make->unixobj_files ); @@ -3357,7 +3357,7 @@ static void output_static_lib( struct makefile *make ) { char *name = replace_extension( make->staticlib, ".a", ".cross.a" );
- strarray_add( &make->all_targets, name ); + strarray_add( &make->clean_files, name ); output( "%s: %s", obj_dir_path( make, name ), tools_path( make, "winebuild" )); output_filenames_obj_dir( make, make->crossobj_files ); output( "\n" );