makefiles: Default to an msvcrt build for static libraries.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2019-08-05 18:57:47 +02:00
parent fb504baaa8
commit 2477aa7a10
3 changed files with 3 additions and 5 deletions

View File

@ -1,7 +1,5 @@
MODULE = libstrmbase.a
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = \
dispatch.c \
dllfunc.c \

View File

@ -1,7 +1,5 @@
MODULE = libwinecrt0.a
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = \
debug.c \
delay_load.c \

View File

@ -4160,7 +4160,9 @@ static void load_sources( struct makefile *make )
make->extra_targets = get_expanded_make_var_array( make, "EXTRA_TARGETS" );
if (make->module && strendswith( make->module, ".a" )) make->staticlib = make->module;
if (make->testdll) strarray_add( &make->extradllflags, "-mno-cygwin" );
if ((make->module && make->staticlib) || make->testdll)
strarray_add( &make->extradllflags, "-mno-cygwin" );
strarray_addall( &make->extradllflags, get_expanded_make_var_array( make, "APPMODE" ));
make->disabled = make->base_dir && strarray_exists( &disabled_dirs, make->base_dir );