Module: kamailio
Branch: master
Commit: 5eac8fd5356cc424d87cac4b4102c99e97054414
URL: 
https://github.com/kamailio/kamailio/commit/5eac8fd5356cc424d87cac4b4102c99e97054414

Author: Daniel-Constantin Mierla <mico...@gmail.com>
Committer: Daniel-Constantin Mierla <mico...@gmail.com>
Date: 2024-11-28T14:38:08+01:00

lib/ims: libxml2 is not needed - removed from makefile

---

Modified: src/lib/ims/Makefile

---

Diff:  
https://github.com/kamailio/kamailio/commit/5eac8fd5356cc424d87cac4b4102c99e97054414.diff
Patch: 
https://github.com/kamailio/kamailio/commit/5eac8fd5356cc424d87cac4b4102c99e97054414.patch

---

diff --git a/src/lib/ims/Makefile b/src/lib/ims/Makefile
index 482404ca36e..5a3dab42316 100644
--- a/src/lib/ims/Makefile
+++ b/src/lib/ims/Makefile
@@ -8,30 +8,8 @@ NAME:=kamailio_ims
 MAJOR_VER=0
 MINOR_VER=1
 BUGFIX_VER=0
-DEFS+=-DSER
+LIBS=
 
-ifeq ($(CROSS_COMPILE),)
-XML2CFG=$(shell which xml2-config)
-ifeq ($(XML2CFG),)
-XML2CFG=$(shell \
-       if pkg-config --exists libxml-2.0; then \
-               echo 'pkg-config libxml-2.0'; \
-       fi)
-endif
-endif
-
-ifneq ($(XML2CFG),)
-       libxml2_includes = $(shell $(XML2CFG) --cflags)
-       libxml2_libs = $(shell $(XML2CFG) --libs)
-else
-       libxml2_includes = -I$(LOCALBASE)/include/libxml2 -I$(LOCALBASE)/include
-       libxml2_libs = -L$(LOCALBASE)/lib -lxml2
-endif
-
-INCLUDES= -I$(CURDIR)/.. -I$(CURDIR)/../.. $(libxml2_includes) 
-LIBS=$(libxml2_libs)
-#SERLIBPATH=..
-#SER_LIBS=$(SERLIBPATH)/cds/ser_cds
+INCLUDES= -I$(CURDIR)/.. -I$(CURDIR)/../..
 
 include ../../Makefile.libs
-

_______________________________________________
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!

Reply via email to