makefiles: Don't link against wine_port when using msvcrt.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
stable
Alexandre Julliard 2019-04-05 10:01:12 +02:00
parent e78ee4f436
commit 3e6a4c4a5c
1 changed files with 1 additions and 1 deletions

View File

@ -2057,7 +2057,7 @@ static struct strarray add_default_libraries( const struct makefile *make, struc
struct strarray all_libs = empty_strarray;
unsigned int i, j;
strarray_add( &all_libs, "-lwine_port" );
if (!make->use_msvcrt) strarray_add( &all_libs, "-lwine_port" );
strarray_addall( &all_libs, get_expanded_make_var_array( make, "EXTRALIBS" ));
strarray_addall( &all_libs, libs );