Module: kamailio Branch: master Commit: 02cf454fc601dd3b246a8886ec6d86103ad87a6e URL: https://github.com/kamailio/kamailio/commit/02cf454fc601dd3b246a8886ec6d86103ad87a6e
Author: Daniel-Constantin Mierla <[email protected]> Committer: Daniel-Constantin Mierla <[email protected]> Date: 2020-02-12T21:30:09+01:00 utils: Makefile - try to use pkg-config if xml2-config is not found --- Modified: src/modules/utils/Makefile --- Diff: https://github.com/kamailio/kamailio/commit/02cf454fc601dd3b246a8886ec6d86103ad87a6e.diff Patch: https://github.com/kamailio/kamailio/commit/02cf454fc601dd3b246a8886ec6d86103ad87a6e.patch --- diff --git a/src/modules/utils/Makefile b/src/modules/utils/Makefile index cfcfdd1f3d..85d0eb065c 100644 --- a/src/modules/utils/Makefile +++ b/src/modules/utils/Makefile @@ -10,6 +10,12 @@ NAME=utils.so 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),) _______________________________________________ Kamailio (SER) - Development Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
