Skip to content

Commit

Permalink
pua: 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 4f43047)
  • Loading branch information
miconda authored and linuxmaniac committed May 11, 2020
1 parent 9e01d1b commit f05809a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/modules/pua/Makefile
Expand Up @@ -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
endif

ifneq ($(XML2CFG),)
Expand Down

0 comments on commit f05809a

Please sign in to comment.