Skip to content

Commit

Permalink
Link with BCrypt for mingw
Browse files Browse the repository at this point in the history
Required by mimalloc
  • Loading branch information
MasterDuke17 committed Jan 4, 2022
1 parent ecb0297 commit 5a73e30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/setup.pm
Expand Up @@ -293,7 +293,7 @@ my %TC_MINGW32 = (

libdir => '@bindir@',
ccshared => '',
ldshared => '-shared -Wl,--out-implib,lib$(notdir $@).a',
ldshared => '-shared -Wl,--out-implib,lib$(notdir $@).a -lbcrypt',
moarshared_norelocatable => '',
moarshared_relocatable => '',
ldrpath => '',
Expand Down Expand Up @@ -479,7 +479,7 @@ our %COMPILERS = (
my %OS_WIN32 = (
exe => '.exe',
defs => [ qw( WIN32 AO_ASSUME_WINDOWS98 ) ],
syslibs => [ qw( shell32 ws2_32 mswsock rpcrt4 advapi32 psapi iphlpapi userenv user32 ) ],
syslibs => [ qw( shell32 ws2_32 mswsock rpcrt4 advapi32 psapi iphlpapi userenv user32 bcrypt ) ],
platform => '$(PLATFORM_WIN32)',

translate_newline_output => 1,
Expand Down

0 comments on commit 5a73e30

Please sign in to comment.