diff --git a/scripts/build/build_libpq.sh b/scripts/build/build_libpq.sh index 107460f8..91c04375 100755 --- a/scripts/build/build_libpq.sh +++ b/scripts/build/build_libpq.sh @@ -40,11 +40,20 @@ case "$(uname)" in ;; esac +# Install packages required for test and wheels build, regardless of whether +# we will build the libpq or not. +case "$ID" in + alpine) + apk add --no-cache krb5-libs + ;; +esac + if [[ -f "${LIBPQ_BUILD_PREFIX}/lib/libpq.${library_suffix}" ]]; then echo "libpq already available: build skipped" >&2 exit 0 fi +# Install packages required to build the libpq. case "$ID" in centos) yum update -y