You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "assignUser (via GitHub)" <gi...@apache.org> on 2023/06/20 17:54:12 UTC
[GitHub] [arrow] assignUser commented on issue #36021: [C++] Support linking to libcurl statically
assignUser commented on issue #36021:
URL: https://github.com/apache/arrow/issues/36021#issuecomment-1599255260
Looking at [`FindCURL.cmake`](https://github.com/Kitware/CMake/blob/master/Modules/FindCURL.cmake#L96) what @js8544 says should work.
Additionally you could use https://cmake.org/cmake/help/latest/variable/CMAKE_FIND_LIBRARY_SUFFIXES.html to ensure only static libs are found by setting this to (.a). This will fail though if any of the libraries `find_library` is used on do not exists as .a files but rather shared libs. Therefore it would be better do invert the default `.so .a` to keep a fallback to `.a .so`.
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org