Crafter.Build/interfaces
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.cppm feat(agents): write AGENTS.md from a tracked AGENTS.template.md 2026-10-31 16:53:42 +01:00
Crafter.Build-Asset.cppm refactor: drop Windows host support 2026-10-02 22:03:34 +02:00
Crafter.Build-Clang.cppm fix: let a program find the shared libraries it is built on 2026-11-07 19:24:12 +01:00
Crafter.Build-External.cppm refactor: carry run paths as directories, not -Wl,-rpath flags 2026-11-07 19:24:12 +01:00
Crafter.Build-Implementation.cppm refactor: drop Windows host support 2026-10-02 22:03:34 +02:00
Crafter.Build-Interface.cppm refactor: drop Windows host support 2026-10-02 22:03:34 +02:00
Crafter.Build-Lint.cppm refactor: drop Windows host support 2026-10-02 22:03:34 +02:00
Crafter.Build-Platform.cppm fix: let a program find the shared libraries it is built on 2026-11-07 19:24:12 +01:00
Crafter.Build-Progress.cppm refactor: drop Windows host support 2026-10-02 22:03:34 +02:00
Crafter.Build-Script.cppm feat(script): scripts in project.cpp, run with crafter-build run 2026-10-20 19:08:26 +02:00
Crafter.Build-Shader.cppm 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.cppm refactor: drop Windows host support 2026-10-02 22:03:34 +02:00
Crafter.Build-Toolchain.cppm fix(mingw): view only a prefix that holds a Linux system 2026-10-31 22:58:30 +01:00
Crafter.Build.cppm feat(agents): keep dependencies' AGENTS.consumer.md in AGENTS.md 2026-10-31 03:18:06 +01:00