[asterisk-scf-commits] asterisk-scf/release/routing.git branch "master" updated.
Commits to the Asterisk SCF project code repositories
asterisk-scf-commits at lists.digium.com
Tue Jul 19 14:44:30 CDT 2011
branch "master" has been updated
via 993ad008145aa1e618679b910844de5f2ad212d6 (commit)
from 17c3811aa8ef6339d6712eaf37f1066ae8a40605 (commit)
Summary of changes:
src/CMakeLists.txt | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
- Log -----------------------------------------------------------------
commit 993ad008145aa1e618679b910844de5f2ad212d6
Author: Kevin P. Fleming <kpfleming at digium.com>
Date: Tue Jul 19 14:43:34 2011 -0500
Explicitly link to the 'dl' library on UNIX-type platforms.
I have no explanation as to why this just now became necessary... but the Lua 5.1
libraries use various functions from libdl, so the Routing Service component
needs to be linked to that library.
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 5e236a0..214d391 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -42,6 +42,9 @@ astscf_component_add_boost_libraries(BasicRoutingService thread date_time core r
astscf_component_add_slice_collection_libraries(BasicRoutingService ASTSCF)
astscf_component_build_icebox(BasicRoutingService)
target_link_libraries(BasicRoutingService ${LUA_LIBRARIES} logging-client astscf-util-cpp)
+if(UNIX)
+ target_link_libraries(BasicRoutingService dl)
+endif()
astscf_component_install(BasicRoutingService)
astscf_component_init(BasicRoutingStateReplicator)
-----------------------------------------------------------------------
--
asterisk-scf/release/routing.git
More information about the asterisk-scf-commits
mailing list