diff --git a/Tasks/TestAndroidTask.cs b/Tasks/TestAndroidTask.cs index 3d4b221..00e768d 100644 --- a/Tasks/TestAndroidTask.cs +++ b/Tasks/TestAndroidTask.cs @@ -32,7 +32,7 @@ public override void Run(BuildContext context) string readelf = string.Empty; var files = Directory.GetFiles (System.IO.Path.Combine(ndk, "toolchains/llvm/prebuilt"), "llvm-readelf", SearchOption.AllDirectories); if (files.Length > 0) { - readelf = files.First (l => l == "llvm-readelf"); + readelf = files.First (l => l.EndsWith ("llvm-readelf")); } if (string.IsNullOrEmpty (readelf)) { context.Information($"SKIP: could not find llvm-readelf");