Commit 2477aa7a authored by Alexandre Julliard's avatar Alexandre Julliard

makefiles: Default to an msvcrt build for static libraries.

parent fb504baa
MODULE = libstrmbase.a
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = \
dispatch.c \
dllfunc.c \
......
MODULE = libwinecrt0.a
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = \
debug.c \
delay_load.c \
......
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment