Module: kamailio
Branch: master
Commit: 88df34e4aa711140f63dfec6db1d185459fdd1aa
URL: 
https://github.com/kamailio/kamailio/commit/88df34e4aa711140f63dfec6db1d185459fdd1aa

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

db2_ldap: cmake - define OPENLDAP23

---

Modified: src/modules/db2_ldap/CMakeLists.txt

---

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

---

diff --git a/src/modules/db2_ldap/CMakeLists.txt 
b/src/modules/db2_ldap/CMakeLists.txt
index f948c5bc172..eddf39f6b88 100644
--- a/src/modules/db2_ldap/CMakeLists.txt
+++ b/src/modules/db2_ldap/CMakeLists.txt
@@ -11,6 +11,6 @@ add_library(libsasl2::libsasl2 ALIAS PkgConfig::libsasl2)
 find_package(Ldap REQUIRED)
 
 # LDAP_DEPRECATED is required for LDAP support else it will throw compile error
-target_compile_definitions(${module_name} PRIVATE LDAP_DEPRECATED)
+target_compile_definitions(${module_name} PRIVATE OPENLDAP23 LDAP_DEPRECATED)
 target_include_directories(${module_name} PRIVATE ${Ldap_INCLUDE_DIRS})
 target_link_libraries(${module_name} PRIVATE ${LDAP_LIBRARIES} 
libsasl2::libsasl2)

_______________________________________________
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