[PATCH] D63881: [cmake] Fix build with BUILD_SHARED_LIBS=ON
Mateusz MikuĊa via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 2 10:17:44 PDT 2020
mati865 added a comment.
MSYS2 provides LLVM built with `LLVM_BUILD_LLVM_DYLIB=TRUE` and hits the same issue. So far it was using this hack: https://github.com/msys2/MINGW-packages/blob/f31bc199ade4d1025cda9bb5aed4427f80d3c584/mingw-w64-clang/0012-fix-testplugin-linking.patch
Applying `set(LLVM_LINK_COMPONENTS Core)` from this diff also fixes the build.
What would be the proper solution for it?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D63881/new/
https://reviews.llvm.org/D63881
More information about the llvm-commits
mailing list