Commit d3c5fe6
committed
Bake dependency runtime library_dirs into binary RUNPATH; default Linux toolchain to glibc
R2: flags.cppm emitted -Wl,-rpath only from toolchain.linkRuntimeDirs, dropping
dependency packages' [runtime] library_dirs (already collected into
plan.runtimeLibraryDirs by plan.cppm). So host-GL passthrough dirs (e.g.
compat.glx-runtime) never reached the binary RUNPATH and dlopen()'d libGL/libGLX
failed at run time (GLX: Failed to load GLX). Iterate plan.runtimeLibraryDirs
(superset) instead.
R1: cli.cppm first-run default on Linux was gcc-musl-static, which cannot link
the glibc world (X11/GL/system libs). Default to platform-native glibc gcc;
musl-static stays opt-in via --target x86_64-linux-musl (Cargo-style).1 parent 93398f4 commit d3c5fe6
2 files changed
Lines changed: 14 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
259 | | - | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
260 | 266 | | |
261 | 267 | | |
262 | 268 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1386 | 1386 | | |
1387 | 1387 | | |
1388 | 1388 | | |
1389 | | - | |
| 1389 | + | |
| 1390 | + | |
| 1391 | + | |
| 1392 | + | |
| 1393 | + | |
1390 | 1394 | | |
1391 | | - | |
| 1395 | + | |
1392 | 1396 | | |
1393 | 1397 | | |
1394 | 1398 | | |
| |||
1398 | 1402 | | |
1399 | 1403 | | |
1400 | 1404 | | |
1401 | | - | |
| 1405 | + | |
1402 | 1406 | | |
1403 | 1407 | | |
1404 | 1408 | | |
| |||
0 commit comments