Skip to content
This repository has been archived by the owner on Nov 21, 2022. It is now read-only.

Commit

Permalink
Add additional dlls referenced by by netstandard 2.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
pchote committed Dec 22, 2020
1 parent 69e873a commit 410fadb
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ cp etc/mono/4.5/machine.config "${OUTPUT}/etc/mono/4.5/"
# and looking for extension-less names that are then mapped in etc/mono/config or names that list a .so extension directly.

pushd lib/mono/4.5 > /dev/null
cp Mono.Security.dll mscorlib.dll System.Configuration.dll System.Core.dll System.dll System.Numerics.dll System.Security.dll System.Xml.dll "${OUTPUT}/usr/lib/mono/4.5/"
cp Mono.Security.dll mscorlib.dll System.Configuration.dll System.Core.dll System.dll System.Numerics.dll System.Runtime.Serialization.dll System.Security.dll System.Xml.dll System.Xml.Linq.dll "${OUTPUT}/usr/lib/mono/4.5/"
popd > /dev/null

cp lib/libmono-btls-shared.so "${OUTPUT}/usr/lib"
Expand All @@ -52,7 +52,11 @@ cp usr/lib/libmono-native.so "${OUTPUT}/usr/lib/"
# neither is netstandard.dll
curl -sLO "${DEVEL_DEB_URL}"
dpkg -x $(basename "${DEVEL_DEB_URL}") .
cp usr/lib/mono/4.5/Facades/netstandard.dll "${OUTPUT}/usr/lib/mono/4.5/Facades"

pushd usr/lib/mono/4.5/Facades > /dev/null
cp Microsoft.Win32.Registry.dll netstandard.dll System.Security.AccessControl.dll System.Security.Principal.Windows.dll "${OUTPUT}/usr/lib/mono/4.5/Facades"
popd > /dev/null


# Fetch cert-sync.exe from the debian stretch repo
curl -sLO "${CERTSYNC_URL}"
Expand Down

0 comments on commit 410fadb

Please sign in to comment.