makedep: Avoid building test resources if winetest is disabled.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
oldstable
Francois Gouget 2018-05-25 00:02:02 +02:00 committed by Alexandre Julliard
parent bc4624c740
commit 776618fe80
1 changed files with 1 additions and 1 deletions

View File

@ -3283,7 +3283,7 @@ static void output_test_module( struct makefile *make )
output_filename( tools_path( make, "winegcc" ));
output( "\n" );
if (!make->disabled)
if (!make->disabled && !strarray_exists( &disabled_dirs, "programs/winetest" ))
output( "all: %s/%s\n", top_obj_dir_path( make, "programs/winetest" ), testres );
output( "%s/%s: %s%s\n", top_obj_dir_path( make, "programs/winetest" ), testres,
obj_dir_path( make, stripped ), dll_ext );