Module: kamailio
Branch: 6.1
Commit: 78a3b9c22a6212ab619c3e20ee0513a3d43b90fe
URL: 
https://github.com/kamailio/kamailio/commit/78a3b9c22a6212ab619c3e20ee0513a3d43b90fe

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date: 2026-03-04T17:25:53+01:00

jsonrpcc: cmake - link with libevent

(cherry picked from commit 69b4b70f38ec0458dd58f3c9fe1f522daad57279)

---

Modified: src/modules/jsonrpcc/CMakeLists.txt

---

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

---

diff --git a/src/modules/jsonrpcc/CMakeLists.txt 
b/src/modules/jsonrpcc/CMakeLists.txt
index 314f48a5c02..15331a22dfe 100644
--- a/src/modules/jsonrpcc/CMakeLists.txt
+++ b/src/modules/jsonrpcc/CMakeLists.txt
@@ -16,4 +16,7 @@ pkg_check_modules(json-c REQUIRED IMPORTED_TARGET json-c)
 add_library(json-c::json-c ALIAS PkgConfig::json-c)
 # endif()
 
-target_link_libraries(${module_name} PRIVATE json-c::json-c)
+pkg_check_modules(EVENT REQUIRED IMPORTED_TARGET libevent)
+add_library(event::event ALIAS PkgConfig::EVENT)
+
+target_link_libraries(${module_name} PRIVATE json-c::json-c event::event)

_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to