From ebfc6607b41cc2077c0a817dd738b21281a0469e Mon Sep 17 00:00:00 2001 From: Ivan Povazan Date: Fri, 15 Sep 2023 11:49:21 +0200 Subject: [PATCH 1/2] Link with standard C++ library when building a iOS library with NativeAOT --- .../BuildIntegration/Microsoft.NETCore.Native.Unix.targets | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets index 409fcb654e919..50ecc3b2431ff 100644 --- a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets +++ b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets @@ -50,6 +50,9 @@ The .NET Foundation licenses this file to you under the MIT license. libeventpipe-disabled libeventpipe-enabled + + true + false From 6a7e3449a0de6b9daf81e62c10d0bf72dca9eff8 Mon Sep 17 00:00:00 2001 From: Ivan Povazan Date: Fri, 15 Sep 2023 18:51:35 +0200 Subject: [PATCH 2/2] PR feedback --- .../BuildIntegration/Microsoft.NETCore.Native.Unix.targets | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets index 50ecc3b2431ff..7d8501919ecd8 100644 --- a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets +++ b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets @@ -51,8 +51,7 @@ The .NET Foundation licenses this file to you under the MIT license. libeventpipe-disabled libeventpipe-enabled - true - false + true