From 21a8eb51ad181f6eb2d7f24d8eda34840025a8a0 Mon Sep 17 00:00:00 2001
From: Adeel Mujahid <3840695+am11@users.noreply.github.com>
Date: Mon, 12 Dec 2022 05:40:04 +0200
Subject: [PATCH] Link static libstdc++ with libicuc in NativeAOT (#79501)
* Link static libstdc++ with libicuc in NativeAOT
* Address CR feedback
* Improve static related conditions
* Delete default
---
.../Microsoft.NETCore.Native.Unix.targets | 13 ++++++++-----
.../Microsoft.NETCore.Native.Windows.targets | 6 +++---
.../Microsoft.NETCore.Native.targets | 14 +++++++-------
3 files changed, 18 insertions(+), 15 deletions(-)
mode change 100644 => 100755 src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets
diff --git a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets
index 7710daf3a00d3..3566ed81025f8 100644
--- a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets
+++ b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets
@@ -46,10 +46,10 @@ The .NET Foundation licenses this file to you under the MIT license.
-
-
+
+
-
+
@@ -69,10 +69,12 @@ The .NET Foundation licenses this file to you under the MIT license.
-
+
-
+
+
+
@@ -86,6 +88,7 @@ The .NET Foundation licenses this file to you under the MIT license.
+
diff --git a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Windows.targets b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Windows.targets
index 7a03e0f150f5e..fe5cdf1cd8638 100644
--- a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Windows.targets
+++ b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Windows.targets
@@ -21,7 +21,7 @@ The .NET Foundation licenses this file to you under the MIT license.
Runtime.WorkstationGC
Runtime.ServerGC
bootstrapper
- bootstrapperdll
+ bootstrapperdll
wmainCRTStartup
WINDOWS
CONSOLE
@@ -72,7 +72,7 @@ The .NET Foundation licenses this file to you under the MIT license.
-
+
@@ -81,7 +81,7 @@ The .NET Foundation licenses this file to you under the MIT license.
-
+
diff --git a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets
old mode 100644
new mode 100755
index d7056f25ea194..a44c06a0433e3
--- a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets
+++ b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets
@@ -67,11 +67,11 @@ The .NET Foundation licenses this file to you under the MIT license.
.exe
- .dll
- .dylib
- .so
- .lib
- .a
+ .dll
+ .dylib
+ .so
+ .lib
+ .a
.dwarf
.pdb
@@ -82,7 +82,7 @@ The .NET Foundation licenses this file to you under the MIT license.
$(NativeIntermediateOutputPath)$(TargetName)$(NativeObjectExt)
$(NativeOutputPath)$(TargetName)$(NativeBinaryExt)
- true
+ true
$(NativeIntermediateOutputPath)$(TargetName)$(ExportsFileExt)
$(NativeObject)
@@ -225,7 +225,7 @@ The .NET Foundation licenses this file to you under the MIT license.
-
+