mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-13 22:50:17 +02:00
add openssl autolink to NetSSL
This commit is contained in:
@@ -87,18 +87,6 @@ enum RSAPaddingMode
|
|||||||
// Automatically link Crypto and OpenSSL libraries.
|
// Automatically link Crypto and OpenSSL libraries.
|
||||||
//
|
//
|
||||||
#if defined(_MSC_VER)
|
#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_NO_AUTOMATIC_LIBS)
|
||||||
#if !defined(POCO_EXTERNAL_OPENSSL)
|
#if !defined(POCO_EXTERNAL_OPENSSL)
|
||||||
#pragma comment(lib, "libcrypto.lib")
|
#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(_MSC_VER)
|
||||||
#if !defined(POCO_NO_AUTOMATIC_LIBS) && !defined(NetSSL_EXPORTS)
|
#if !defined(POCO_NO_AUTOMATIC_LIBS)
|
||||||
#pragma comment(lib, "PocoNetSSL" POCO_LIB_SUFFIX)
|
#if !defined(POCO_EXTERNAL_OPENSSL)
|
||||||
#endif
|
#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
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
2
openssl
2
openssl
Submodule openssl updated: 6dc14894cb...91c24b8028
Reference in New Issue
Block a user