From 56474da5f2bd1c0fdb23b6cbee3e9334faffa094 Mon Sep 17 00:00:00 2001 From: githubzilla Date: Tue, 5 Nov 2024 19:43:40 +0800 Subject: [PATCH] fix build error of missing the lib of absl_bad_optional_access --- build_tools/build_detect_platform | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build_tools/build_detect_platform b/build_tools/build_detect_platform index ca4cede71ce..bf99e611f73 100755 --- a/build_tools/build_detect_platform +++ b/build_tools/build_detect_platform @@ -645,7 +645,7 @@ if [ "${USE_GCP}XXX" = "1XXX" ]; then GCP_SDK=/usr/local GCI=${GCP_SDK}/include/ GCS_CCFLAGS="$GCS_CCFLAGS -I$GCI -DUSE_GCP" - GCS_LDFLAGS="$GCS_LDFLAGS -lgoogle_cloud_cpp_common -lgoogle_cloud_cpp_storage -labsl_bad_variant_access" + GCS_LDFLAGS="$GCS_LDFLAGS -lgoogle_cloud_cpp_common -lgoogle_cloud_cpp_storage -labsl_bad_variant_access -labsl_bad_optional_access" COMMON_FLAGS="$COMMON_FLAGS $GCS_CCFLAGS" PLATFORM_LDFLAGS="$GCS_LDFLAGS $PLATFORM_LDFLAGS" fi @@ -936,4 +936,4 @@ if test -n "$USE_FOLLY"; then fi if test -n "$PPC_LIBC_IS_GNU"; then echo "PPC_LIBC_IS_GNU=$PPC_LIBC_IS_GNU" >> "$OUTPUT" -fi \ No newline at end of file +fi