From 93c2747e4213d69f0376e6bb3e1db8bc31d5cc89 Mon Sep 17 00:00:00 2001
From: Adeel Mujahid <3840695+am11@users.noreply.github.com>
Date: Fri, 20 Jan 2023 03:51:38 +0200
Subject: [PATCH] Fix TargetOS value `linux` instead of `Unix` (#80794)
---
.../BuildIntegration/Microsoft.NETCore.Native.targets | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets
index 696fa19c03afc8..0d1dfd7f2d122d 100755
--- a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets
+++ b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets
@@ -27,9 +27,10 @@ The .NET Foundation licenses this file to you under the MIT license.
$(IlcPath)\framework\
$(IlcFrameworkPath)
$(IlcPath)\mibc\
- windows
- osx
- $(OS)
+ windows
+ osx
+ freebsd
+ linux
true
false