Skip to content

Commit

Permalink
ims_auth: Makefile - use pkg-config if xml2-config is not found
Browse files Browse the repository at this point in the history
- GH #2199

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

Please sign in to comment.