Francois Gouget : makedep: Avoid building test resources if winetest is disabled.
Alexandre Julliard
julliard at winehq.org
Fri May 25 13:41:12 CDT 2018
Module: wine
Branch: master
Commit: 776618fe8028ac53cb1e2de1c4f13fa0b5e9e532
URL: https://source.winehq.org/git/wine.git/?a=commit;h=776618fe8028ac53cb1e2de1c4f13fa0b5e9e532
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Fri May 25 00:02:02 2018 +0200
makedep: Avoid building test resources if winetest is disabled.
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
tools/makedep.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/makedep.c b/tools/makedep.c
index 207c41e..f8a82b0 100644
--- a/tools/makedep.c
+++ b/tools/makedep.c
@@ -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 );
More information about the wine-cvs
mailing list