Skip to content

Commit

Permalink
libhb: Silence pkg-config errors during libxml2 search.
Browse files Browse the repository at this point in the history
  • Loading branch information
bradleysepos committed Apr 3, 2020
1 parent d72cdd2 commit 623d6b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libhb/module.defs
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ ifneq (,$(filter $(HOST.system),freebsd netbsd))
else ifneq (,$(filter $(HOST.system),darwin cygwin mingw))
LIBHB.GCC.I += $(CONTRIB.build/)include/libxml2
else
LIBHB.libxml2 := $(shell $(PKGCONFIG.exe) --cflags libxml2)
LIBHB.libxml2 := $(shell $(PKGCONFIG.exe) --silence-errors --cflags libxml2)
ifeq (,$(LIBHB.libxml2))
LIBHB.libxml2 := $(shell $(PKGCONFIG.exe) --cflags libxml-2.0)
LIBHB.libxml2 := $(shell $(PKGCONFIG.exe) --silence-errors --cflags libxml-2.0)
endif
ifneq (,$(LIBHB.libxml2))
LIBHB.libxml2 := $(patsubst -I%,%,$(LIBHB.libxml2))
Expand Down

0 comments on commit 623d6b9

Please sign in to comment.