... | ... |
@@ -761,7 +761,7 @@ check_pkg_config(){ |
761 | 761 |
headers="$2" |
762 | 762 |
funcs="$3" |
763 | 763 |
shift 3 |
764 |
- $pkg_config --exists $pkg || return |
|
764 |
+ $pkg_config --exists $pkg 2>/dev/null || return |
|
765 | 765 |
pkg_cflags=$($pkg_config --cflags $pkg) |
766 | 766 |
pkg_libs=$($pkg_config --libs $pkg) |
767 | 767 |
check_func_headers "$headers" "$funcs" $pkg_cflags $pkg_libs "$@" && |