Module: kamailio Branch: master Commit: 77ad9e626a8b9f26f3ce904fe35dda70ad4ce164 URL: https://github.com/kamailio/kamailio/commit/77ad9e626a8b9f26f3ce904fe35dda70ad4ce164
Author: Daniel-Constantin Mierla <[email protected]> Committer: Daniel-Constantin Mierla <[email protected]> Date: 2020-02-12T21:29:39+01:00 presence_xml: Makefile - try to use pkg-config if xml2-config is not found --- Modified: src/modules/presence_xml/Makefile --- Diff: https://github.com/kamailio/kamailio/commit/77ad9e626a8b9f26f3ce904fe35dda70ad4ce164.diff Patch: https://github.com/kamailio/kamailio/commit/77ad9e626a8b9f26f3ce904fe35dda70ad4ce164.patch --- diff --git a/src/modules/presence_xml/Makefile b/src/modules/presence_xml/Makefile index f6a1dd4d63..826df4d0ad 100644 --- a/src/modules/presence_xml/Makefile +++ b/src/modules/presence_xml/Makefile @@ -8,6 +8,12 @@ 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 ifeq ($(OS), darwin) ICU_BUILDER = $(shell \ if pkg-config --exists icu-uc; then \ _______________________________________________ Kamailio (SER) - Development Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
