diff --git a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets index a4fd6ffe5f4ee1..bb3a6de7b8e347 100644 --- a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets +++ b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets @@ -111,16 +111,20 @@ The .NET Foundation licenses this file to you under the MIT license. <_WhereXcrun>0 - + + <_HasDefaultSysRoot Condition="'$(SysRoot)' != ''">true + + + - + -