From 2e18324f5eb33a77e61ba6aa7ce7e9a3c4c0e07f Mon Sep 17 00:00:00 2001 From: Steve Date: Wed, 15 Oct 2025 11:06:37 +0900 Subject: [PATCH] Correctly handle file path that contains spaces --- .../targets/Microsoft.Android.Sdk.NativeAOT.targets | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/Xamarin.Android.Build.Tasks/Microsoft.Android.Sdk/targets/Microsoft.Android.Sdk.NativeAOT.targets b/src/Xamarin.Android.Build.Tasks/Microsoft.Android.Sdk/targets/Microsoft.Android.Sdk.NativeAOT.targets index 43372363cfd..ba0ae385391 100644 --- a/src/Xamarin.Android.Build.Tasks/Microsoft.Android.Sdk/targets/Microsoft.Android.Sdk.NativeAOT.targets +++ b/src/Xamarin.Android.Build.Tasks/Microsoft.Android.Sdk/targets/Microsoft.Android.Sdk.NativeAOT.targets @@ -118,11 +118,13 @@ This file contains the NativeAOT-specific MSBuild logic for .NET for Android. - + <_NdkLibs Include="@(RuntimePackAsset->WithMetadataValue('Filename', 'libnaot-android.$(Configuration.ToLower())-static-$(Configuration.ToLower())'))" /> - - + <_NdkLibs Include="$(_NdkSysrootDir)libc++_static.a" /> + <_NdkLibs Include="$(_NdkSysrootDir)libc++abi.a" /> + +