summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBradley Sepos <[email protected]>2020-04-03 05:35:44 -0400
committerBradley Sepos <[email protected]>2020-04-03 05:35:44 -0400
commit623d6b9906537335db711768b5900863d37a9807 (patch)
treed0bfcdea7d4b1b3b7f507b03164cbc84f6ad9ab9
parentd72cdd2b73984762bf39b302e6e7270533c093a6 (diff)
libhb: Silence pkg-config errors during libxml2 search.
-rw-r--r--libhb/module.defs4
1 files changed, 2 insertions, 2 deletions
diff --git a/libhb/module.defs b/libhb/module.defs
index 5493519c4..6ed28d299 100644
--- a/libhb/module.defs
+++ b/libhb/module.defs
@@ -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))