diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2022-08-20 11:20:12 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2022-08-20 12:52:21 -0400 |
commit | 3adda398cef7f56d024924158e7b17d65cbc565d (patch) | |
tree | 6af506d130f8fffc73729e50caeda313b4e61973 /clang/lib/Driver/Driver.cpp | |
parent | 7dec4648c4f81c7ec0e118599c5ee87512092c21 (diff) | |
download | llvm-3adda398cef7f56d024924158e7b17d65cbc565d.zip llvm-3adda398cef7f56d024924158e7b17d65cbc565d.tar.gz llvm-3adda398cef7f56d024924158e7b17d65cbc565d.tar.bz2 |
[clang][lldb][cmake] Use new `*_INSTALL_LIBDIR_BASENAME` CPP macro
Use this instead of `*_LIBDIR_SUFFIX`, from which it is computed.
This gets us ready for D130586, in which `*_LIBDIR_SUFFIX` is
deprecated.
Differential Revision: https://reviews.llvm.org/D132300
Diffstat (limited to 'clang/lib/Driver/Driver.cpp')
-rw-r--r-- | clang/lib/Driver/Driver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Driver/Driver.cpp b/clang/lib/Driver/Driver.cpp index 05d00a5..d00f08d 100644 --- a/clang/lib/Driver/Driver.cpp +++ b/clang/lib/Driver/Driver.cpp @@ -180,7 +180,7 @@ std::string Driver::GetResourcesPath(StringRef BinaryPath, // path of the embedding binary, which for LLVM binaries will be in bin/. // ../lib gets us to lib/ in both cases. P = llvm::sys::path::parent_path(Dir); - llvm::sys::path::append(P, Twine("lib") + CLANG_LIBDIR_SUFFIX, "clang", + llvm::sys::path::append(P, CLANG_INSTALL_LIBDIR_BASENAME, "clang", CLANG_VERSION_STRING); } |