Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions src/platform/linux.cppm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// Provides:
// build_ld_library_path() — construct LD_LIBRARY_PATH prefix
// runtime_lib_dirs() — Linux-specific library search paths
// runtime_lib_dirs() — Linux toolchain runtime library search paths

module;

Expand All @@ -19,7 +19,7 @@ export namespace mcpp::platform::linux_ {
std::string build_ld_library_path_prefix(
const std::vector<std::filesystem::path>& dirs);

// Return Linux-specific runtime library directories for LLVM toolchains.
// Return Linux toolchain runtime library directories.
std::vector<std::filesystem::path>
runtime_lib_dirs(const std::filesystem::path& toolchain_root);

Expand Down Expand Up @@ -56,9 +56,6 @@ runtime_lib_dirs(const std::filesystem::path& toolchain_root) {
dirs.push_back(p);
};
add(toolchain_root / "lib" / "x86_64-unknown-linux-gnu");
add("/lib/x86_64-linux-gnu");
add("/usr/lib/x86_64-linux-gnu");
add("/usr/lib64");
#else
(void)toolchain_root;
#endif
Expand Down
Loading