From 25f7a1371d3870276f4c48fd76a431e75e141013 Mon Sep 17 00:00:00 2001 From: Jorijn van der Graaf Date: Mon, 2 Mar 2026 22:59:56 +0100 Subject: [PATCH] windows build fix --- implementations/Crafter.Build-Project.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/implementations/Crafter.Build-Project.cpp b/implementations/Crafter.Build-Project.cpp index c6021d4..69f7f46 100644 --- a/implementations/Crafter.Build-Project.cpp +++ b/implementations/Crafter.Build-Project.cpp @@ -476,7 +476,7 @@ namespace Crafter { #if defined(CRAFTER_BUILD_CONFIGURATION_TARGET_x86_64_pc_windows_msvc) || defined(CRAFTER_BUILD_CONFIGURATION_TARGET_x86_64_w64_mingw32) system("echo %LIBCXX_DIR%\\lib\\c++.dll"); - system("echo .\\bin\\executable-windows-msvc\\c++.dll"); + system(std::format("{}\\c++.dll", binDir.string()).c_str()); system(std::format("copy %LIBCXX_DIR%\\lib\\c++.dll {}\\c++.dll", binDir.string()).c_str()); buildResult.errors = RunClang(std::format("{}{} -o {}.exe -fuse-ld=lld -L %LIBCXX_DIR%\\lib -lc++ -nostdinc++ -nostdlib++", command, files, (binDir/outputName).string())); #endif