You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by xi...@apache.org on 2025/11/20 13:41:26 UTC

(brpc) branch master updated: Fix incorrect openssl dynamic library link order (#3159)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 58e7e2df Fix incorrect openssl dynamic library link order (#3159)
58e7e2df is described below

commit 58e7e2df72ef053c69dbced5adb2076a3bf5531e
Author: apocelipes <se...@outlook.com>
AuthorDate: Thu Nov 20 21:41:20 2025 +0800

    Fix incorrect openssl dynamic library link order (#3159)
---
 CMakeLists.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 63f3ee06..06aee44c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -306,11 +306,12 @@ if(WITH_BORINGSSL)
     list(APPEND DYNAMIC_LIB ${BORINGSSL_SSL_LIBRARY})
     list(APPEND DYNAMIC_LIB ${BORINGSSL_CRYPTO_LIBRARY})
 else()
-    list(APPEND DYNAMIC_LIB ${OPENSSL_CRYPTO_LIBRARY})
     if(WITH_MESALINK)
+        list(APPEND DYNAMIC_LIB ${OPENSSL_CRYPTO_LIBRARY})
         list(APPEND DYNAMIC_LIB ${MESALINK_LIB})
     else()
         list(APPEND DYNAMIC_LIB ${OPENSSL_SSL_LIBRARY})
+        list(APPEND DYNAMIC_LIB ${OPENSSL_CRYPTO_LIBRARY})
     endif()
 endif()
 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org