Describe the bug, including details regarding any error messages, version, and platform.
The Abseil bundled static library targets are currently appended to ARROW_BUNDLED_STATIC_LIBS inside build_protobuf() even though they are provided by build_absl().
As a result, the registration of the bundled Abseil libraries depends on the Protobuf build logic rather than the component that defines them.
This was discovered while investigating a Windows linker failure in the Arrow Java JNI build:
apache/arrow-java#1243
To Reproduce
The issue was observed while reproducing the linker failure reported in apache/arrow-java#1243.
Expected behavior
Abseil bundled static libraries should be registered in build_absl(), where they are defined, instead of build_protobuf().
Component(s)
C++
Describe the bug, including details regarding any error messages, version, and platform.
The Abseil bundled static library targets are currently appended to
ARROW_BUNDLED_STATIC_LIBSinsidebuild_protobuf()even though they are provided bybuild_absl().As a result, the registration of the bundled Abseil libraries depends on the Protobuf build logic rather than the component that defines them.
This was discovered while investigating a Windows linker failure in the Arrow Java JNI build:
apache/arrow-java#1243
To Reproduce
The issue was observed while reproducing the linker failure reported in apache/arrow-java#1243.
Expected behavior
Abseil bundled static libraries should be registered in
build_absl(), where they are defined, instead ofbuild_protobuf().Component(s)
C++