Skip to content

Commit f303e09

Browse files
dianqkNoratrieb
authored andcommitted
provide libstdc++.so.6 through LD_LIBRARY_PATH
1 parent c4f9678 commit f303e09

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/building/suggested.md

+4
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,10 @@ pkgs.mkShell {
285285
];
286286
# Avoid creating text files for ICEs.
287287
RUSTC_ICE = "0";
288+
# Provide `libstdc++.so.6` for the self-contained lld.
289+
LD_LIBRARY_PATH = "${with pkgs; lib.makeLibraryPath [
290+
stdenv.cc.cc.lib
291+
]}";
288292
}
289293
```
290294

0 commit comments

Comments
 (0)