mirror of
https://github.com/pocoproject/poco.git
synced 2025-03-26 00:20:34 +01:00
add openssl autolink to NetSSL
This commit is contained in:
parent
b7fbdabf5f
commit
741fead666
@ -87,18 +87,6 @@ enum RSAPaddingMode
|
||||
// Automatically link Crypto and OpenSSL libraries.
|
||||
//
|
||||
#if defined(_MSC_VER)
|
||||
#if defined(_WIN64)
|
||||
#define POCO_PLATFORM_BITS "64"
|
||||
#else
|
||||
#define POCO_PLATFORM_BITS "32"
|
||||
#endif
|
||||
|
||||
#if defined (_DEBUG)
|
||||
#define POCO_DEBUG_POSTFIX "d"
|
||||
#else
|
||||
#define POCO_DEBUG_POSTFIX ""
|
||||
#endif
|
||||
|
||||
#if !defined(POCO_NO_AUTOMATIC_LIBS)
|
||||
#if !defined(POCO_EXTERNAL_OPENSSL)
|
||||
#pragma comment(lib, "libcrypto.lib")
|
||||
|
@ -50,12 +50,18 @@
|
||||
|
||||
|
||||
//
|
||||
// Automatically link NetSSL library.
|
||||
// Automatically link NetSSL and OpenSSL libraries.
|
||||
//
|
||||
#if defined(_MSC_VER)
|
||||
#if !defined(POCO_NO_AUTOMATIC_LIBS) && !defined(NetSSL_EXPORTS)
|
||||
#pragma comment(lib, "PocoNetSSL" POCO_LIB_SUFFIX)
|
||||
#endif
|
||||
#if !defined(POCO_NO_AUTOMATIC_LIBS)
|
||||
#if !defined(POCO_EXTERNAL_OPENSSL)
|
||||
#pragma comment(lib, "libcrypto.lib")
|
||||
#pragma comment(lib, "libssl.lib")
|
||||
#endif // POCO_EXTERNAL_OPENSSL
|
||||
#if !defined(Crypto_EXPORTS)
|
||||
#pragma comment(lib, "PocoNetSSL" POCO_LIB_SUFFIX)
|
||||
#endif
|
||||
#endif // POCO_NO_AUTOMATIC_LIBS
|
||||
#endif
|
||||
|
||||
|
||||
|
2
openssl
2
openssl
@ -1 +1 @@
|
||||
Subproject commit 6dc14894cb5cb32d8079acca9cd7d2853ba425da
|
||||
Subproject commit 91c24b8028baf6cc91e77e154d6a90a850bcb558
|
Loading…
x
Reference in New Issue
Block a user