blob: 58348b9cf3c59f734fd9e38afb369774ab997279 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
Index: xamarin-pkg-msbuild/eng/cibuild_bootstrapped_msbuild.sh
===================================================================
--- xamarin-pkg-msbuild.orig/eng/cibuild_bootstrapped_msbuild.sh
+++ xamarin-pkg-msbuild/eng/cibuild_bootstrapped_msbuild.sh
@@ -56,6 +56,7 @@ function DownloadMSBuildForMono {
unzip -q "$msbuild_zip" -d "$artifacts_dir"
# rename just to make it obvious when reading logs!
mv $artifacts_dir/msbuild $mono_msbuild_dir
+ cp $(pacman -Ql dotnet-host | grep libhostfxr.so | cut -d' ' -f2) $artifacts_dir/mono-msbuild/SdkResolvers/Microsoft.DotNet.MSBuildSdkResolver/
sed -i 's#/sh$#/bash#' $artifacts_dir/mono-msbuild/msbuild
chmod +x $artifacts_dir/mono-msbuild/MSBuild.dll
rm "$msbuild_zip"
|