Created
July 24, 2023 03:21
-
-
Save al3xtjames/4f782e0b589473eccfe2b1e890ae27a8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/Driver/ToolChains/CommonArgs.cpp b/lib/Driver/ToolChains/CommonArgs.cpp | |
index 34640b3c450d..93c4a4f4ec5c 100644 | |
--- a/lib/Driver/ToolChains/CommonArgs.cpp | |
+++ b/lib/Driver/ToolChains/CommonArgs.cpp | |
@@ -589,8 +589,7 @@ void tools::addLTOOptions(const ToolChain &ToolChain, const ArgList &Args, | |
#endif | |
SmallString<1024> Plugin; | |
- llvm::sys::path::native(Twine(D.Dir) + | |
- "/../" CLANG_INSTALL_LIBDIR_BASENAME + | |
+ llvm::sys::path::native(Twine("@libllvmLibdir@") + | |
PluginName + Suffix, | |
Plugin); | |
CmdArgs.push_back(Args.MakeArgString(Twine(PluginPrefix) + Plugin)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment