[PATCH] D23752: [cmake] Respect LLVM_RUNTIMES_LIBDIR_SUFFIX

Michał Górny via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 27 02:22:40 PDT 2016


mgorny added inline comments.


================
Comment at: lib/Driver/Tools.cpp:2021
   std::string Plugin =
-      ToolChain.getDriver().Dir + "/../lib" CLANG_LIBDIR_SUFFIX "/LLVMgold.so";
+      ToolChain.getDriver().Dir + "/../lib" LLVM_RUNTIMES_LIBDIR_SUFFIX "/LLVMgold.so";
   CmdArgs.push_back(Args.MakeArgString(Plugin));
----------------
Note: I don't know if it's better to use LLVM_RUNTIMES_LIBDIR_SUFFIX here, or just #define LLVM_LIBDIR_SUFFIX in addition to that.


https://reviews.llvm.org/D23752





More information about the cfe-commits mailing list