Skip to content

Commit 7a35cee

Browse files
committed
Properly resolve [TRIPLE]-strip path on Windows
.exe is no more, we have .cmd this week
1 parent 91532f2 commit 7a35cee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Xamarin.Android.Build.Tasks/Tasks/StripNativeLibraries.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ public override bool RunTask ()
5858
return !Log.HasLoggedErrors;
5959
}
6060

61-
protected override string ToolName => OS.IsWindows ? $"{triple}-strip.exe" : $"{triple}-strip";
61+
protected override string ToolName => $"{triple}-strip";
6262

63-
protected override string GenerateFullPathToTool () => Path.Combine (ToolPath, ToolName);
63+
protected override string GenerateFullPathToTool () => MonoAndroidHelper.GetExecutablePath (ToolPath, ToolName);
6464

6565
protected override string GenerateCommandLineCommands ()
6666
{

0 commit comments

Comments
 (0)