From e64b1166f5b4e205002112d341be112f3154acf6 Mon Sep 17 00:00:00 2001 From: daurnimator Date: Sat, 2 Sep 2017 18:23:46 +1000 Subject: Don't use #pragma for linker options Instead require user to pass libraries to linker via build system --- src/openssl.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/openssl.c b/src/openssl.c index 726cba3..e5f0cd4 100644 --- a/src/openssl.c +++ b/src/openssl.c @@ -41,11 +41,8 @@ #include /* AF_INET, AF_INET6 */ #include /* struct in_addr, struct in6_addr */ #include /* inet_pton */ -#pragma comment(lib, "ws2_32.lib") #include /* CryptAcquireContext(), CryptGenRandom(), CryptReleaseContext() */ -#pragma comment(lib, "advapi32.lib") #include /* CreateMutex(), GetLastError(), GetModuleHandleEx(), GetProcessTimes(), InterlockedCompareExchangePointer() */ -#pragma comment(lib, "kernel32.lib") #define EXPORT __declspec (dllexport) #else #include /* inet_pton(3) */ -- cgit v1.2.3-59-g8ed1b