Fix MT3001 AOT errors due to incorrect paths. https://bugzilla.xamarin.com/show_bug.cgi?id=42006
This commit is contained in:
Родитель
77954eac92
Коммит
67470d439c
|
@ -1900,7 +1900,7 @@ namespace Xamarin.Bundler {
|
|||
if (!App.EnableMarkerOnlyBitCode)
|
||||
flags.AddOtherFlag ("-read_only_relocs suppress");
|
||||
flags.LinkWithMono ();
|
||||
flags.AddOtherFlag ($"-install_name @executable_path/{install_name}");
|
||||
flags.AddOtherFlag ("-install_name " + Driver.Quote ($"@executable_path/{install_name}"));
|
||||
flags.AddOtherFlag ("-fapplication-extension"); // fixes this: warning MT5203: Native linking warning: warning: linking against dylib not safe for use in application extensions: [..]/actionextension.dll.arm64.dylib
|
||||
}
|
||||
|
||||
|
|
|
@ -377,7 +377,7 @@ namespace Xamarin.Bundler {
|
|||
var assembly = Path.Combine (build_dir, FileName);
|
||||
|
||||
if (App.FastDev)
|
||||
Dylib = Path.Combine (App.AppDirectory, "lib" + Path.GetFileName (FullPath) + ".dylib");
|
||||
Dylib = Path.Combine (App.AppDirectory, Driver.Quote ("lib" + Path.GetFileName (FullPath) + ".dylib"));
|
||||
|
||||
foreach (var abi in abis) {
|
||||
var task = CreateManagedToAssemblyTasks (assembly, abi, build_dir);
|
||||
|
|
Загрузка…
Ссылка в новой задаче