Skip to content

Commit 71cb45d

Browse files
committed
Remove the leading "lib" from kResourceDirSuffixes
On linux LLDB_INSTALL_LIBDIR_BASENAME is expanded to "lib/lldb/swift".
1 parent 91bcf92 commit 71cb45d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Host/common/HostInfoSwift.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ bool lldb_private::DefaultComputeSwiftResourceDirectory(
3939

4040
static const llvm::StringRef kResourceDirSuffixes[] = {
4141
"lib/swift",
42-
"lib" LLDB_INSTALL_LIBDIR_BASENAME "/lldb/swift",
42+
LLDB_INSTALL_LIBDIR_BASENAME "/lldb/swift",
4343
};
4444
for (const auto &Suffix : kResourceDirSuffixes) {
4545
llvm::SmallString<256> swift_path(parent_path);

0 commit comments

Comments
 (0)