[SR-Dev] [PATCH 09/10] Link with shared libraries libsrdb1 and libkcore

Jan Janak jan at iptel.org
Tue Mar 3 01:16:21 CET 2009


The kamailio acc module needs to be linked with libsrdb1 database
library, this is the library which contains the database api from
kamailio/db directory, and libkcore. libkcore contains ut.h and
local_route init functions from kamailio core.
---
 modules/acc/Makefile |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/modules/acc/Makefile b/modules/acc/Makefile
index a25c0f5..ee6d3ff 100644
--- a/modules/acc/Makefile
+++ b/modules/acc/Makefile
@@ -30,4 +30,7 @@ endif
 
 DEFS+=-DOPENSER_MOD_INTERFACE
 
+SERLIBPATH=../../lib
+SER_LIBS+=$(SERLIBPATH)/srdb1/srdb1 $(SERLIBPATH)/kcore/kcore
+
 include ../../Makefile.modules
-- 
1.5.6.5




More information about the sr-dev mailing list