Skip to content

Commit

Permalink
presence_conference: Makefile - use pkg-config if xml2-config is not …
Browse files Browse the repository at this point in the history
…found

- GH #2199

(cherry picked from commit 8e9e1fd)
  • Loading branch information
miconda authored and henningw committed May 13, 2020
1 parent ffd0472 commit b3ac786
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/modules/presence_conference/Makefile
Expand Up @@ -7,6 +7,12 @@ NAME=presence_conference.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),)
Expand Down

0 comments on commit b3ac786

Please sign in to comment.