[chore](third-party) Don't link keyutils to krb5 explicitly (#19632)

We may link system-wide keyutils to krb5 when building krb5 which may introduce an extra dependency to the codebase.
This commit is contained in:
Adonis Ling
2023-05-16 10:37:37 +08:00
committed by GitHub
parent 9cede6d763
commit ddcf7ec1b4

View File

@ -1367,7 +1367,8 @@ build_krb5() {
fi
CFLAGS="-fcommon -fPIC -I${TP_INSTALL_DIR}/include" LDFLAGS="-L${TP_INSTALL_DIR}/lib" \
../configure --prefix="${TP_INSTALL_DIR}" --disable-shared --enable-static ${with_crypto_impl:+${with_crypto_impl}}
../configure --prefix="${TP_INSTALL_DIR}" --disable-shared --enable-static \
--without-keyutils ${with_crypto_impl:+${with_crypto_impl}}
make -j "${PARALLEL}"
make install