Skip to content

Commit 4bd685c

Browse files
committed
Exclude mchar from win32 build if config doesn't define libicu location
1 parent ce5740f commit 4bd685c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/tools/msvc/Mkvcbuild.pm

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,10 @@ sub mkvcbuild
421421
push @contrib_excludes, 'uuid-ossp';
422422
}
423423

424+
if (!$solution->{options}->{icu})
425+
{
426+
push @contrib_excludes, 'mchar';
427+
}
424428
# AddProject() does not recognize the constructs used to populate OBJS in
425429
# the pgcrypto Makefile, so it will discover no files.
426430
my $pgcrypto =

0 commit comments

Comments
 (0)