diff --git a/platform-specific.inc b/platform-specific.inc index 1bb595a..148cafc 100644 --- a/platform-specific.inc +++ b/platform-specific.inc @@ -8,6 +8,10 @@ #if (defined(_WIN32) || defined(_WIN64)) /* Windows */ +// use pragma syntax to prevent tweaking the linker script for getting CryptXYZ function +#pragma comment(lib, "crypt32.lib") +#pragma comment(lib, "advapi32.lib") + #define WIN32_LEAN_AND_MEAN #include #include