forked from Mirrors/wine-wine
makefiles: Build modules that use msvcrt as PE builtins.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>stable
parent
76e6883a5e
commit
1f0a9c4c29
|
@ -2077,7 +2077,8 @@ static int is_cross_compiled( struct makefile *make )
|
||||||
!make->is_win16 &&
|
!make->is_win16 &&
|
||||||
!strarray_exists( &make->imports, "kernel" ) &&
|
!strarray_exists( &make->imports, "kernel" ) &&
|
||||||
(make->testdll ||
|
(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" )));
|
find_src_file( make, replace_extension( source->name, ".c", ".spec" )));
|
||||||
int need_cross = (crosstarget &&
|
int need_cross = (crosstarget &&
|
||||||
(make->testdll ||
|
(make->testdll ||
|
||||||
|
strarray_exists( &make->extradllflags, "-mno-cygwin" ) ||
|
||||||
(source->file->flags & FLAG_C_IMPLIB) ||
|
(source->file->flags & FLAG_C_IMPLIB) ||
|
||||||
(make->module && make->staticlib)));
|
(make->module && make->staticlib)));
|
||||||
int need_obj = (!need_cross ||
|
int need_obj = (!need_cross ||
|
||||||
|
|
Loading…
Reference in New Issue