DiamondLovesYou added a comment. It looks like if LLVM is built with LLVM_LINK_LLVM_DYLIB=ON and `--link-static` is provided and the static archives are removed, `llvm-config` doesn't error and still prints the shared lib with `--libs`. http://reviews.llvm.org/D15033