Skip to content

Commit 68ec9d4

Browse files
committed
stdlib: correct case for the bcrypt import library
On Windows the filesystem is not case sensitive and this will link just fine. However, the Windows SDK provides the import library with the lowercase name. Adjust the name so that the link actually succeeds on case-sensitive file systems (like on Linux). This fixes the Windows cross-compile.
1 parent 6729aac commit 68ec9d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/stubs/Random.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#define WIN32_LEAN_AND_MEAN
2222
#include <Windows.h>
2323
#include <Bcrypt.h>
24-
#pragma comment(lib, "Bcrypt.lib")
24+
#pragma comment(lib, "bcrypt.lib")
2525
#else
2626
#include <errno.h>
2727
#include <fcntl.h>

0 commit comments

Comments
 (0)