I reported an LLVM bug https://bugs.llvm.org/show_bug.cgi?id=39587 for the linking issue; Once that’s solved I’ll change the compiler to somehow allow for static linking (which probably will require some manual copying of the static libraries but otherwise should be fairly automatic).
Thanks a lot. Now let’s hope for the LLVM people to fix it soon.