Merge "Install bindep packages when installing lib from src"

This commit is contained in:
Zuul 2020-07-30 09:27:55 +00:00 committed by Gerrit Code Review
commit 647fef0b40
2 changed files with 3 additions and 2 deletions

View File

@ -1412,7 +1412,8 @@ function install_bindep {
local pkgs local pkgs
if [[ ! -f $file ]]; then if [[ ! -f $file ]]; then
die $LINENO "Can not find bindep file: $file" warn $LINENO "Can not find bindep file: $file"
return
fi fi
# converting here makes it much easier to work with passing # converting here makes it much easier to work with passing

View File

@ -72,7 +72,7 @@ function _install_lib_from_source {
local name=$1 local name=$1
if use_library_from_git "$name"; then if use_library_from_git "$name"; then
git_clone_by_name "$name" git_clone_by_name "$name"
setup_dev_lib "$name" setup_dev_lib -bindep "$name"
fi fi
} }