Module: wine Branch: master Commit: 852c9c69de224669e5838bbc24642af633c9c620 URL: https://source.winehq.org/git/wine.git/?a=commit;h=852c9c69de224669e5838bbc2...
Author: Alexandre Julliard julliard@winehq.org Date: Sun Jan 24 21:58:53 2021 +0100
makefiles: Add missing dependency to wrc for test dll resources.
Signed-off-by: Alexandre Julliard julliard@winehq.org
---
tools/makedep.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/tools/makedep.c b/tools/makedep.c index 306a50eef5d..913854c7f05 100644 --- a/tools/makedep.c +++ b/tools/makedep.c @@ -3083,7 +3083,10 @@ static void output_source_spec( struct makefile *make, struct incl_file *source,
strarray_add( &make->clean_files, dll_name ); strarray_add( &make->res_files, strmake( "%s.res", obj )); - output( "%s.res: %s\n", obj_dir_path( make, obj ), obj_dir_path( make, dll_name )); + output( "%s.res:", obj_dir_path( make, obj )); + output_filename( obj_dir_path( make, dll_name )); + output_filename( tools_path( make, "wrc" )); + output( "\n" ); output( "\t%secho "%s.dll TESTDLL \"%s\"" | %s -u -o $@\n", cmd_prefix( "WRC" ), obj, output_file, tools_path( make, "wrc" ));