diff --git a/scripts/setup.sh b/scripts/setup.sh index 3082554b1c..fb57795fc0 100755 --- a/scripts/setup.sh +++ b/scripts/setup.sh @@ -42,7 +42,7 @@ $( ) || fail "Rust and Cargo version must be installed (minimum version 1.57)" has_exec "go" || fail "'go' is missing" -has_exec "pkg-config" || fail "'pkg-config' is missing" +has_exec "${PKG_CONFIG:-pkg-config}" || fail "'pkg-config' is missing" has_exec "automake" || fail "'automake' is missing" has_exec "perl" || fail "'perl' is missing" has_exec "ruby" || fail "'ruby' is missing"