kou opened a new pull request, #39932:
URL: https://github.com/apache/arrow/pull/39932

   ### Rationale for this change
   
   We chose Libs{,.private} with libre2.a for system RE2 in GH-10626. Because 
"Require{,.private} re2" may add "-std=c++11". If "-std=c++11" was added, users 
can't build Apache Arrow C++ because Apache Arrow C++ requires C++17 or later.
   
   But this approach doesn't work with RE2 2024-06-01 or later because it at 
least requires Abseil. If we keep the Libs{,.private} approach, we also need to 
add Abseil libraries to Libs{,.private}. But it's unmaintainable.
   
   ### What changes are included in this PR?
   
   Let's use "Requires{,.private} re2" instead of Libs{,.private}. I hope 
recent re2.pc doesn't add "-std=c++11".
   
   ### Are these changes tested?
   
   Yes.
   
   ### Are there any user-facing changes?
   
   Yes.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to