Module: wine Branch: master Commit: 3e6a4c4a5cd8d47fac8e4cdc814ebb2a2b2f2ec5 URL: https://source.winehq.org/git/wine.git/?a=commit;h=3e6a4c4a5cd8d47fac8e4cdc8...
Author: Alexandre Julliard julliard@winehq.org Date: Fri Apr 5 10:01:12 2019 +0200
makefiles: Don't link against wine_port when using msvcrt.
Signed-off-by: Alexandre Julliard julliard@winehq.org
---
tools/makedep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/makedep.c b/tools/makedep.c index 2b916af..a03222b 100644 --- a/tools/makedep.c +++ b/tools/makedep.c @@ -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 );