summarylogtreecommitdiffstats
path: root/copy_hostfxr.patch
diff options
context:
space:
mode:
authorFlorian Maunier2019-08-22 11:54:33 +0200
committerFlorian Maunier2019-08-22 11:54:33 +0200
commitb682a5873bbc4f1b9a66f88df717ae2faf4d2d4a (patch)
treeec19aa2489014b4a8f662b954fc05b9842c00d1e /copy_hostfxr.patch
parentc12533f7a2dd82a7901ae0d030e89c8aa79ce6a8 (diff)
downloadaur-b682a5873bbc4f1b9a66f88df717ae2faf4d2d4a.tar.gz
Upgrade to msbuild 16.3
Diffstat (limited to 'copy_hostfxr.patch')
-rw-r--r--copy_hostfxr.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/copy_hostfxr.patch b/copy_hostfxr.patch
new file mode 100644
index 000000000000..58348b9cf3c5
--- /dev/null
+++ b/copy_hostfxr.patch
@@ -0,0 +1,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"