Module: kamailio Branch: 6.0 Commit: aef5f6c422981a36a1eac3d93079d8aa930c3810 URL: https://github.com/kamailio/kamailio/commit/aef5f6c422981a36a1eac3d93079d8aa930c3810
Author: Xenofon Karamanos <x...@gilawa.com> Committer: Xenofon Karamanos <22965395+xkara...@users.noreply.github.com> Date: 2025-01-29T10:20:12Z cmake: Link with correct Erlang target (cherry picked from commit 2dbd3d47cdbd55365fcb37b48a30c3224b8af810) --- Modified: src/modules/erlang/CMakeLists.txt --- Diff: https://github.com/kamailio/kamailio/commit/aef5f6c422981a36a1eac3d93079d8aa930c3810.diff Patch: https://github.com/kamailio/kamailio/commit/aef5f6c422981a36a1eac3d93079d8aa930c3810.patch --- diff --git a/src/modules/erlang/CMakeLists.txt b/src/modules/erlang/CMakeLists.txt index 16c4be64bfd..db92655b497 100644 --- a/src/modules/erlang/CMakeLists.txt +++ b/src/modules/erlang/CMakeLists.txt @@ -5,4 +5,6 @@ add_library(${module_name} SHARED ${MODULE_SOURCES}) # erlang-dev find_package(Erlang REQUIRED) -target_link_libraries(${module_name} PRIVATE Erlang::EI) +target_link_libraries(${module_name} PRIVATE Erlang::Erlang) +target_include_directories(${module_name} PRIVATE ${Erlang_INCLUDE_DIRS}) +target_compile_definitions(${module_name} PRIVATE _REENTRANT) _______________________________________________ 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!