Module: wine Branch: master Commit: 1f0a9c4c29bfa4a87fe8c0da9beb6fdc6b1f6fb1 URL: https://source.winehq.org/git/wine.git/?a=commit;h=1f0a9c4c29bfa4a87fe8c0da9...
Author: Alexandre Julliard julliard@winehq.org Date: Wed Apr 24 11:42:17 2019 +0200
makefiles: Build modules that use msvcrt as PE builtins.
Signed-off-by: Alexandre Julliard julliard@winehq.org
---
tools/makedep.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tools/makedep.c b/tools/makedep.c index 584c5a0..2fcb917 100644 --- a/tools/makedep.c +++ b/tools/makedep.c @@ -2077,7 +2077,8 @@ static int is_cross_compiled( struct makefile *make ) !make->is_win16 && !strarray_exists( &make->imports, "kernel" ) && (make->testdll || - !make->object_files.count)); + !make->object_files.count || + strarray_exists( &make->extradllflags, "-mno-cygwin" ))); }
@@ -2951,6 +2952,7 @@ static void output_source_default( struct makefile *make, struct incl_file *sour find_src_file( make, replace_extension( source->name, ".c", ".spec" ))); int need_cross = (crosstarget && (make->testdll || + strarray_exists( &make->extradllflags, "-mno-cygwin" ) || (source->file->flags & FLAG_C_IMPLIB) || (make->module && make->staticlib))); int need_obj = (!need_cross ||