Alexandre Julliard : makedep: Add dependency on locale.nls for rc files.
Module: wine Branch: master Commit: ad44edebde62bfb80560b606b7ae3a21b08d333d URL: https://source.winehq.org/git/wine.git/?a=commit;h=ad44edebde62bfb80560b606b... Author: Alexandre Julliard <julliard(a)winehq.org> Date: Mon Apr 4 10:43:20 2022 +0200 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(a)winehq.org> --- 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" ) );
participants (1)
-
Alexandre Julliard