Skip to content

Commit

Permalink
ff
Browse files Browse the repository at this point in the history
  • Loading branch information
dellis1972 committed Jun 2, 2021
1 parent 7d301a5 commit ec01b0a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Xamarin.Android.Build.Tasks/Tasks/Aot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -366,13 +366,13 @@ IEnumerable<Config> GetAotConfigs ()

var libs = new List<string>();
if (NdkUtil.UsingClangNDK) {
libs.Add ($"-L\\\"{toolchainLibDir}\\\"");
libs.Add ($"-L\\\"{androidLibPath}\\\"");
libs.Add ($"-L\\\"{toolchainLibDir.TrimEnd ('\\')}\\\"");
libs.Add ($"-L\\\"{androidLibPath.TrimEnd ('\\')}\\\"");

if (arch == AndroidTargetArch.Arm) {
// Needed for -lunwind to work
string compilerLibDir = Path.Combine (toolchainPath, "..", "sysroot", "usr", "lib", NdkUtil.GetArchDirName (arch));
libs.Add ($"-L\\\"{compilerLibDir}\\\"");
libs.Add ($"-L\\\"{compilerLibDir.TrimEnd ('\\')}\\\"");
}
}

Expand Down

0 comments on commit ec01b0a

Please sign in to comment.