Module: wine Branch: master Commit: f691bdb6bfee6b3b9fb849b17b70a730dc5eefcf URL: https://source.winehq.org/git/wine.git/?a=commit;h=f691bdb6bfee6b3b9fb849b17...
Author: Alexandre Julliard julliard@winehq.org Date: Fri Sep 25 12:02:56 2020 +0200
makefiles: Don't build Unix object files on Windows.
Signed-off-by: Alexandre Julliard julliard@winehq.org
---
tools/makedep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/makedep.c b/tools/makedep.c index b3dd03645f..df3805591e 100644 --- a/tools/makedep.c +++ b/tools/makedep.c @@ -3081,7 +3081,7 @@ static void output_source_default( struct makefile *make, struct incl_file *sour ((source->file->flags & FLAG_C_IMPLIB) && (needs_cross_lib( make ) || needs_delay_lib( make ))) || (make->staticlib && needs_cross_lib( make )))); - int need_obj = ((*dll_ext || !make->staticlib || !(source->file->flags & FLAG_C_UNIX)) && + int need_obj = ((*dll_ext || !(source->file->flags & FLAG_C_UNIX)) && (!need_cross || (source->file->flags & FLAG_C_IMPLIB) || (make->module && make->staticlib)));