ci fix
Some checks failed
Deploy / build-deploy (push) Failing after 3m27s

This commit is contained in:
Jorijn van der Graaf 2026-08-05 05:41:22 +02:00
commit 8603182caf
2 changed files with 19 additions and 0 deletions

View file

@ -134,6 +134,13 @@ extern "C" Configuration CrafterBuildProject(std::span<const std::string_view> a
cfg.linkFlags.push_back("-lssl");
cfg.linkFlags.push_back("-lcrypto");
// libmsquic.so.2 is built in crafter-build's external cache, and the
// RUNPATH pointing there only exists on the build machine — the first
// deploy to a real host died in the loader (exit 127) because of it.
// $ORIGIN makes the loader also look next to the binary itself, and CI
// ships the .so alongside it into /srv/catcrafts-app.
cfg.linkFlags.push_back("-Wl,-rpath,$ORIGIN");
ApplyReleaseTrimming(cfg);
return cfg;
}