Commit 7f9e893f authored by Luca Barbato's avatar Luca Barbato

build: Report an error message when a pc file is not found

Ease tracking path problems.
parent af11fa54
......@@ -885,7 +885,7 @@ check_pkg_config(){
headers="$2"
funcs="$3"
shift 3
$pkg_config --exists $pkg || return
check_cmd $pkg_config --exists --print-errors $pkg || return
pkg_cflags=$($pkg_config --cflags $pkg)
pkg_libs=$($pkg_config --libs $pkg)
check_func_headers "$headers" "$funcs" $pkg_cflags $pkg_libs "$@" &&
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment