[sr-dev] git:master:e2e0f182: http_client: removed libxml2 dependency from Makefile

Daniel-Constantin Mierla miconda at gmail.com
Mon Feb 27 23:10:51 CET 2017


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2017-02-27T23:09:35+01:00

http_client: removed libxml2 dependency from Makefile

- apparently a copy&paste leftover when pkg-config was introduced

---

Modified: src/modules/http_client/Makefile

---

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

---

diff --git a/src/modules/http_client/Makefile b/src/modules/http_client/Makefile
index 5117852..460e146 100644
--- a/src/modules/http_client/Makefile
+++ b/src/modules/http_client/Makefile
@@ -18,15 +18,6 @@ CURL_BUILDER=$(shell \
 	fi)
 endif
 
-ifneq ($(XML2CFG),)
-	DEFS += $(shell $(XML2CFG) --cflags )
-	LIBS += $(shell $(XML2CFG) --libs)
-else
-	DEFS+=-I$(LOCALBASE)/include/libxml2 \
-      -I$(LOCALBASE)/include
-	LIBS+=-L$(LOCALBASE)/lib -lxml2
-endif
-
 ifneq ($(CURL_BUILDER),)
 	DEFS += $(shell $(CURL_BUILDER) --cflags )
 	LIBS += $(shell $(CURL_BUILDER) --libs)




More information about the sr-dev mailing list