Skip to content

Commit

Permalink
fix build error of missing the lib of absl_bad_optional_access
Browse files Browse the repository at this point in the history
  • Loading branch information
githubzilla committed Nov 5, 2024
1 parent 45dbcca commit 56474da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build_tools/build_detect_platform
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
fi

0 comments on commit 56474da

Please sign in to comment.