Skip to content

Commit

Permalink
presence: Makefile - try to use pkg-config if xml2-config is not found
Browse files Browse the repository at this point in the history
(cherry picked from commit 5ce9690)
  • Loading branch information
miconda authored and henningw committed May 13, 2020
1 parent 6f09601 commit fea6520
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/modules/presence/Makefile
Expand Up @@ -7,6 +7,12 @@ NAME=presence.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
ifeq ($(OS), darwin)
ICU_BUILDER = $(shell \
if pkg-config --exists icu-uc; then \
Expand Down

0 comments on commit fea6520

Please sign in to comment.