makefiles: Don't link against wine_port when using msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
e78ee4f436
commit
3e6a4c4a5c
|
@ -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 );
|
||||
|
||||
|
|
Loading…
Reference in New Issue