Skip to content

Commit

Permalink
Fix android error
Browse files Browse the repository at this point in the history
  • Loading branch information
dellis1972 committed Sep 5, 2024
1 parent 6e9a47c commit 7872ad3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tasks/TestAndroidTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 7872ad3

Please sign in to comment.