Pārlūkot izejas kodu

Update module to use libkmi

This patch updates the module to link with the shared library libkmi
which contains the management interface from kamailio and fixes
paths to headers in that library.
Jan Janak 16 gadi atpakaļ
vecāks
revīzija
cef1c51c0e
2 mainītis faili ar 3 papildinājumiem un 1 dzēšanām
  1. 2 0
      modules_k/regex/Makefile
  2. 1 1
      modules_k/regex/regex_mod.c

+ 2 - 0
modules_k/regex/Makefile

@@ -8,4 +8,6 @@ LIBS=-L$(LOCALBASE)/lib -lpcre
 
 DEFS+=-DOPENSER_MOD_INTERFACE
 
+SERLIBPATH=../../lib
+SER_LIBS+=$(SERLIBPATH)/kmi/kmi
 include ../../Makefile.modules

+ 1 - 1
modules_k/regex/regex_mod.c

@@ -46,7 +46,7 @@
 #include "../../str.h"
 #include "../../locking.h"
 #include "../../mod_fix.h"
-#include "../../mi/mi.h"
+#include "../../lib/kmi/mi.h"
 
 MODULE_VERSION