From d3e1ee40bc457ba069515ee0d3a68f608ed9debf Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Fri, 6 Mar 2026 15:58:37 +0100 Subject: [PATCH] [dotnet-linker] Export DOTNET for csproj.inc generation. The create-makefile-fragment.sh script requires the DOTNET environment variable to be set. The previous BUILD_EXECUTABLE export was removed in 9cf7f599fe, but the replacement DOTNET export was not added, causing the Linux build to fail because the .csproj.inc file couldn't be generated, which meant ProductConstants.cs wasn't generated either. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- tools/dotnet-linker/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/dotnet-linker/Makefile b/tools/dotnet-linker/Makefile index 033e0b101db4..eaabacd81b23 100644 --- a/tools/dotnet-linker/Makefile +++ b/tools/dotnet-linker/Makefile @@ -16,6 +16,7 @@ DOTNET_DIRECTORIES += \ # dotnet-linker.csproj.inc contains the dotnet_linker_dependencies variable used to determine if mtouch needs to be rebuilt or not. dotnet-linker.csproj.inc: export BUILD_VERBOSITY=$(DOTNET_BUILD_VERBOSITY) +dotnet-linker.csproj.inc: export DOTNET:=$(DOTNET) dotnet-linker.csproj.inc: dotnet-linker.csproj -include dotnet-linker.csproj.inc