Crafter.Build/implementations
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jorijn van der Graaf bc98c87f01
fix: let a program find the shared libraries it is built on
The link of an executable built on a LibraryDynamic dependency took
lib<name>.so from the library's bin dir and recorded nowhere to find it
at run time: no run path pointed there and nothing copied it beside the
program, which mingw does for a DLL. The program failed at start with
"cannot open shared object file". A shared library now hands its bin dir
up as a run path, as a CMake external does with its build directory, and
a program linked against it records it. Run paths reach the linker
through -Xlinker, quoted for the shell (RunPathFlags), in a program's
link and in project.so's: unlike the external cache's directories, the
bin dir is the project's own, and clang splits a -Wl, value at every
comma its name may hold.
2026-11-07 19:24:12 +01:00
..
Crafter.Build-Agents.cpp feat(agents): write AGENTS.md from a tracked AGENTS.template.md 2026-10-31 16:53:42 +01:00
Crafter.Build-Asset.cpp linting 2026-07-23 01:24:42 +02:00
Crafter.Build-Clang.cpp fix: let a program find the shared libraries it is built on 2026-11-07 19:24:12 +01:00
Crafter.Build-External.cpp refactor: carry run paths as directories, not -Wl,-rpath flags 2026-11-07 19:24:12 +01:00
Crafter.Build-Implementation.cpp fix: recompile the units whose std module was rebuilt in place 2026-10-31 22:59:05 +01:00
Crafter.Build-Interface.cpp fix: decide a build step by its exit code, not by whether it printed 2026-08-26 00:51:15 +00:00
Crafter.Build-Lint.cpp fix(lint): fail the files whose configuration has no compile command 2026-10-31 22:59:37 +01:00
Crafter.Build-Platform.cpp fix: let a program find the shared libraries it is built on 2026-11-07 19:24:12 +01:00
Crafter.Build-Progress.cpp refactor: drop Windows host support 2026-10-02 22:03:34 +02:00
Crafter.Build-Script.cpp fix: rebuild and relink on what changed, submodules at their revisions, and mingw found where it is 2026-10-20 20:20:29 +02:00
Crafter.Build-Shader.cpp fix: rebuild and relink on what changed, submodules at their revisions, and mingw found where it is 2026-10-20 20:20:29 +02:00
Crafter.Build-Test.cpp fix(test): run the binary the link wrote, .wasm included 2026-11-07 03:25:13 +01:00
Crafter.Build-Toolchain.cpp fix(mingw): view only a prefix that holds a Linux system 2026-10-31 22:58:30 +01:00
main.cpp refactor: drop Windows host support 2026-10-02 22:03:34 +02:00