Skip to content

Commit efbb453

Browse files
authored
add missing packages to install_prerequisites.sh (#1181)
add libclang (for bindgen) and libsqlite
1 parent 4716bf4 commit efbb453

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tools/install_prerequisites.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,15 @@ if [[ "${HOST_OS}" == "Linux" ]]; then
7777
'xmlsec1'
7878
'libxmlsec1-dev'
7979
'libxmlsec1-openssl'
80+
'libclang-dev'
81+
'libsqlite3-dev'
8082
)
8183
sudo apt-get update
82-
confirm "Install (or update) [${packages[*]}]?" && sudo apt-get install ${packages[@]}
84+
if [[ "${ASSUME_YES}" == "true" ]]; then
85+
sudo apt-get install -y ${packages[@]}
86+
else
87+
confirm "Install (or update) [${packages[*]}]?" && sudo apt-get install ${packages[@]}
88+
fi
8389
elif [[ "${HOST_OS}" == "SunOS" ]]; then
8490
packages=(
8591
'pkg:/package/pkg'

0 commit comments

Comments
 (0)