浏览代码

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

(cherry picked from commit 5eac8fd5356cc424d87cac4b4102c99e97054414)
Daniel-Constantin Mierla 9 月之前
父节点
当前提交
a45daead40
共有 1 个文件被更改,包括 2 次插入24 次删除
  1. 2 24
      src/lib/ims/Makefile

+ 2 - 24
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
-