[PATCH] D16158: [CMake] Add clang's targets to LLVM's export set when not building standalone

Chris Bieneman via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 19 09:33:18 PST 2016


beanz abandoned this revision.
beanz added a comment.

@hintonda, your comment actually trigged something in my brain and I just realized the problem. It is a much simpler fix. If you set LLVM_ENABLE_PIC=Off libclang isn't built as a dylib, it is a static lib. If LLVM_INSTALL_TOOLCHAIN_ONLY=On, we need to exclude all static libraries from the Clang exports file.


http://reviews.llvm.org/D16158





More information about the cfe-commits mailing list