diff --git a/build.sh b/build.sh index c0777e2..2d74a19 100755 --- a/build.sh +++ b/build.sh @@ -30,6 +30,10 @@ PIPELINE_ENGINE=winchester if [[ "$PACKAGE" = true ]] then + # Ensure libmysqlclient-dev is installed on build machine. + # TODO(sandy): Support other distros. + dpkg -s libmysqlclient-dev 2>/dev/null >/dev/null \ + || sudo apt-get -y install libmysqlclient-dev SOURCE_DIR=$PKG_DIR rm -rf $PKG_DIR rm -rf $VENV_DIR