From 60557e812813d6bf85a66f16630b5fd4de87c70c Mon Sep 17 00:00:00 2001
From: Adeel Mujahid <3840695+am11@users.noreply.github.com>
Date: Wed, 18 Jan 2023 18:48:55 +0200
Subject: [PATCH 1/2] Fix TargetOS value `linux` instead of `Unix`
---
.../BuildIntegration/Microsoft.NETCore.Native.targets | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets
index 2e134e663a493..4978798dff0d6 100755
--- a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets
+++ b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets
@@ -27,9 +27,11 @@ The .NET Foundation licenses this file to you under the MIT license.
$(IlcPath)\framework\
$(IlcFrameworkPath)
$(IlcPath)\mibc\
- windows
- osx
- $(OS)
+ windows
+ osx
+ freebsd
+ linux-musl
+ linux
true
false
From 45d5d4aaa338ef0aa38733ee4b43a19d93c91082 Mon Sep 17 00:00:00 2001
From: Adeel Mujahid <3840695+am11@users.noreply.github.com>
Date: Wed, 18 Jan 2023 19:04:10 +0200
Subject: [PATCH 2/2] Update
src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets
---
.../nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets
index 4978798dff0d6..ef9d3372f5ca9 100755
--- a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets
+++ b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets
@@ -30,7 +30,6 @@ The .NET Foundation licenses this file to you under the MIT license.
windows
osx
freebsd
- linux-musl
linux
true