Check static linking on Mac and Linux
chocolacula opened this issue · 1 comments
chocolacula commented
Static linking of Clang and LLVM libraries is not easy, unfortunately. Clang uses zlib, ffi and other libraries. MacOSX SDK during compilation with these static libraries produces weird errors like redefinition of isnan
, isinf
or undefined type nullptr_t
. Perhaps libclang-static-build has answers and a solution.
chocolacula commented
It's possible by using llvm as a submodule, implemented in separate branch.