You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kvrocks.apache.org by GitBox <gi...@apache.org> on 2022/05/19 07:57:01 UTC
[GitHub] [incubator-kvrocks] PragmaTwice commented on pull request #592: Search library first before linking `libstdc++.a` in CMake
PragmaTwice commented on PR #592:
URL: https://github.com/apache/incubator-kvrocks/pull/592#issuecomment-1131365564
I first try to use `find_library` to find `libstdc++.a`, but in some environment (like github actions), cmake cannot find it via `find_library` but `gcc -static-libstdc++` actually works.
So I change the method to `try_compile`, the command will try to compile source files with some special compile&link options to test whether these options exist.
--
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: dev-unsubscribe@kvrocks.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org