Unverified Commit 694faf5e authored by Bobby Rong's avatar Bobby Rong Committed by GitHub
Browse files

Merge pull request #182211 from mdarocha/fix-netcoredbg

netcoredbg: fix build
parents 2481b95f f9b5d5dc
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -30,7 +30,9 @@ let
    hardeningDisable = [ "strictoverflow" ];

    preConfigure = ''
      export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1
      dotnetVersion="$(${dotnet-sdk}/bin/dotnet --list-runtimes | grep -Po '^Microsoft.NETCore.App \K.*?(?= )')"

      cmakeFlagsArray+=(
        "-DDBGSHIM_RUNTIME_DIR=${dotnet-sdk}/shared/Microsoft.NETCore.App/$dotnetVersion"
      )