[chore](thirdparty) Fix the linkage errors for librdkafka (#17181)

Fix the linkage errors for librdkafka
This commit is contained in:
Adonis Ling
2023-02-28 21:37:27 +08:00
committed by GitHub
parent 7f6209ede4
commit cf7e97dd27

View File

@ -858,7 +858,8 @@ build_librdkafka() {
# PKG_CONFIG="pkg-config --static"
CPPFLAGS="-I${TP_INCLUDE_DIR}" \
LDFLAGS="-L${TP_LIB_DIR} -lssl -lcrypto -lzstd -lz -lsasl2" \
LDFLAGS="-L${TP_LIB_DIR} -lssl -lcrypto -lzstd -lz -lsasl2 \
-lgssapi_krb5 -lkrb5 -lkrb5support -lk5crypto -lcom_err -lresolv" \
./configure --prefix="${TP_INSTALL_DIR}" --enable-static --enable-sasl --disable-c11threads
make -j "${PARALLEL}"