From 10d5e0c5f354c99cfa1afd4095d3393f1919d6d9 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 d30e7e73578eaa..255cdd5ea3f03b 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 b008980ac311b6a50e991e7a02f6da415ce9388d 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 255cdd5ea3f03b..1f5b2cd681095c 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