From ad44edebde62bfb80560b606b7ae3a21b08d333d Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 4 Apr 2022 10:43:20 +0200 Subject: [PATCH] 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 --- tools/makedep.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/makedep.c b/tools/makedep.c index cc988e2aee7..eaf7366da1a 100644 --- a/tools/makedep.c +++ b/tools/makedep.c @@ -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" ) );