makedep: Set use_msvcrt for ucrtbase imports as well.

Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Martin Storsjo 2015-11-04 12:21:58 +02:00 committed by Alexandre Julliard
parent 1fecaae973
commit d33f0a492b
1 changed files with 2 additions and 1 deletions

View File

@ -2907,7 +2907,8 @@ static void update_makefile( const char *path )
make->use_msvcrt = strarray_exists( &make->appmode, "-mno-cygwin" );
for (i = 0; i < make->imports.count && !make->use_msvcrt; i++)
make->use_msvcrt = !strncmp( make->imports.str[i], "msvcr", 5 );
make->use_msvcrt = !strncmp( make->imports.str[i], "msvcr", 5 ) ||
!strcmp( make->imports.str[i], "ucrtbase" );
make->install_lib_rules = empty_strarray;
make->install_dev_rules = empty_strarray;