foutrelis added a comment. Scratch that, I see what's going on! The body of the llvm_config macro needs to check `if(ARG_USE_SHARED)` instead of `if(USE_SHARED)`. Could you please add this related fix to this change? Repository: rL LLVM https://reviews.llvm.org/D44391