makedep: Add dependency on locale.nls for rc files.

wrc will load locale.nls if the rc file uses a non-English language.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2022-04-04 10:43:20 +02:00
parent 701ed2591b
commit ad44edebde

View file

@ -2650,6 +2650,7 @@ static void output_source_rc( struct makefile *make, struct incl_file *source, c
}
output( "%s.res: %s", obj_dir_path( make, obj ), source->filename );
output_filename( tools_path( make, "wrc" ));
if (make->src_dir) output_filename( "nls/locale.nls" );
output_filenames( source->dependencies );
output( "\n" );
output( "\t%s%s -u -o $@", cmd_prefix( "WRC" ), tools_path( make, "wrc" ) );