Module: kamailio
Branch: 6.0
Commit: e4781f256cc0fbfc8ad4b4345934da7c8899b47e
URL: 
https://github.com/kamailio/kamailio/commit/e4781f256cc0fbfc8ad4b4345934da7c8899b47e

Author: Lyubomir Yatanski <lyubomir.yatan...@flolive.net>
Committer: Henning Westerholt <h...@gilawa.com>
Date: 2025-03-14T10:36:41Z

cdp: fix cmake build

- fix runtime Error relocating cdp.so: TLS_client_method: symbol not found
  when building with cmake

(cherry picked from commit ba13699faba8938ff547a34af9f05631d0b8a9cd)

---

Modified: src/modules/cdp/CMakeLists.txt

---

Diff:  
https://github.com/kamailio/kamailio/commit/e4781f256cc0fbfc8ad4b4345934da7c8899b47e.diff
Patch: 
https://github.com/kamailio/kamailio/commit/e4781f256cc0fbfc8ad4b4345934da7c8899b47e.patch

---

diff --git a/src/modules/cdp/CMakeLists.txt b/src/modules/cdp/CMakeLists.txt
index 41758eb30c6..7d48b3af4d4 100644
--- a/src/modules/cdp/CMakeLists.txt
+++ b/src/modules/cdp/CMakeLists.txt
@@ -3,5 +3,6 @@ file(GLOB MODULE_SOURCES "*.c")
 add_library(${module_name} SHARED ${MODULE_SOURCES})
 
 find_package(LibXml2 REQUIRED)
+find_package(OpenSSL REQUIRED)
 
-target_link_libraries(${module_name} PRIVATE LibXml2::LibXml2)
+target_link_libraries(${module_name} PRIVATE LibXml2::LibXml2 OpenSSL::SSL)

_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to