LLVMC can be now compiled w/o dynamic plugin support.
[oota-llvm.git] / lib / CompilerDriver / BuiltinOptions.cpp
index c8b768219ab37cd49f23b03e367baa6b3859ac32..a3364e8a72f0ba4cbce8e6b6dfdf34cec7b04f98 100644 (file)
 //===----------------------------------------------------------------------===//
 
 #include "llvm/CompilerDriver/BuiltinOptions.h"
+
+#ifdef ENABLE_LLVMC_DYNAMIC_PLUGINS
 #include "llvm/Support/PluginLoader.h"
+#endif
 
 namespace cl = llvm::cl;