From 988c1821af3408688d433e3d9c270c5523869cd3 Mon Sep 17 00:00:00 2001 From: Jorijn van der Graaf Date: Thu, 30 Apr 2026 05:00:25 +0200 Subject: [PATCH] LoadProject: extend DLL search path to mingw / libcxx bin dir Before LoadLibraryA on the project.dll, point Windows's loader at the directory we already know holds the runtime DLLs the dll depends on (libstdc++/libgcc/libwinpthread for mingw-host, c++.dll for msvc-host). Lets a user run crafter-build.exe straight out of the release zip without having to prepend C:\msys64\ucrt64\bin (or the libc++ bin dir) to PATH first. Co-Authored-By: Claude Sonnet 4.6 --- implementations/Crafter.Build-Platform.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/implementations/Crafter.Build-Platform.cpp b/implementations/Crafter.Build-Platform.cpp index 00b4951..363432b 100644 --- a/implementations/Crafter.Build-Platform.cpp +++ b/implementations/Crafter.Build-Platform.cpp @@ -340,6 +340,14 @@ Configuration Crafter::LoadProject(const fs::path& projectFile, std::span