Skip to content

Commit

Permalink
provide libstdc++.so.6 through LD_LIBRARY_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
DianQK authored and Noratrieb committed Jun 27, 2024
1 parent c4f9678 commit f303e09
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/building/suggested.md
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,10 @@ pkgs.mkShell {
];
# Avoid creating text files for ICEs.
RUSTC_ICE = "0";
# Provide `libstdc++.so.6` for the self-contained lld.
LD_LIBRARY_PATH = "${with pkgs; lib.makeLibraryPath [
stdenv.cc.cc.lib
]}";
}
```

Expand Down

0 comments on commit f303e09

Please sign in to comment.