You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by je...@apache.org on 2020/02/23 13:58:50 UTC

[thrift] 01/04: THRIFT-5110 Added a number of required libs for using static OpenSSL Client: cpp Patch: Mario Emmenlauer

This is an automated email from the ASF dual-hosted git repository.

jensg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/thrift.git

commit f5a9a30e345fc8cf52d37388cb7b9ab741a3a4ac
Author: Mario Emmenlauer <me...@biodataanalysis.de>
AuthorDate: Thu Aug 22 22:08:16 2019 +0200

    THRIFT-5110 Added a number of required libs for using static OpenSSL
    Client: cpp
    Patch: Mario Emmenlauer
    
    This closes #2020
---
 lib/cpp/src/thrift/windows/config.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/cpp/src/thrift/windows/config.h b/lib/cpp/src/thrift/windows/config.h
index 063a92a..a218d90 100644
--- a/lib/cpp/src/thrift/windows/config.h
+++ b/lib/cpp/src/thrift/windows/config.h
@@ -64,6 +64,9 @@
   #pragma comment(lib, "Ws2.lib")
   #else
   #pragma comment(lib, "Ws2_32.lib")
+  #pragma comment(lib, "gdi32.lib") // For static OpenSSL
+  #pragma comment(lib, "crypt32.lib") // For static OpenSSL
+  #pragma comment(lib, "user32.lib") // For static OpenSSL
   #pragma comment(lib, "advapi32.lib") // For security APIs in TPipeServer
   #pragma comment(lib, "Shlwapi.lib")  // For StrStrIA in TPipeServer
   #endif