xamarin-macios/builds
Andoni Morales Alastruey 4cfccff38e
Fix libs reidentification deployed in a subdirectory (#16706)
Dynamic libraries might be deployed in subdirectories such as libclrjit.dylib from the nuget package cefglue.common:
Contents/MonoBundle/CefGlueBrowserProcess/libclrjit.dylib

The library ID for that library should be: @executable_path/../MonoBundle/CefGlueBrowserProcess/libclrjit.dylib

Instead of: @executable_path/../MonoBundle/libclrjit.dylib

Beside the library ID being wrong, when it's combined with the nuget package microsoft.netcore.app.runtime.osx-x64 providing a library with the same name, both uses the same `ReidentifiedPath`, which can cause a failure in the InstallNameTool tasks that are run in parallel operating on the same temporary file.

The following patch uses the `RelativePath` for the tempory file used by `InstallNameTool` so that there are no clashes with other files with the same name deployed in other directories. It also uses the `RelativePath` to create the correct library id: @executable_path/../../Contents/MonoBundle/CefGlueBrowserProcess/libclrjit.dylib

Partially fixes https://github.com/xamarin/xamarin-macios/issues/15173 for this scenario
2022-12-16 09:17:01 +01:00
..
fix-maccatalyst-assembly Use unix-style line endings in project files. (#15303) 2022-06-21 17:22:58 +02:00
package-download Merge main into net7.0. 2022-09-28 17:17:10 +02:00
.gitignore Download all the NuGets we need at the beginning of the build. (#16076) 2022-09-27 08:49:54 +02:00
Makefile Merge remote-tracking branch 'origin/net7.0-xcode14.1' into main-net7.0-xcode14.1 2022-11-03 08:21:55 +01:00
Mono.framework-Info.plist Add our mono runtimes to the build. 2016-04-24 14:47:24 -04:00
Mono.framework-tvos.Info.plist Rename bundle identifier for the frameworks we ship. Fixes #6920. (#6926) 2019-09-06 09:30:49 -07:00
Mono.framework-watchos.Info.plist Rename bundle identifier for the frameworks we ship. Fixes #6920. (#6926) 2019-09-06 09:30:49 -07:00
create-csproj-for-all-packagereferences.sh Fix libs reidentification deployed in a subdirectory (#16706) 2022-12-16 09:17:01 +01:00
mac-System.config Add our mono runtimes to the build. 2016-04-24 14:47:24 -04:00
mono-wrapper.in Add our mono runtimes to the build. 2016-04-24 14:47:24 -04:00