OSX: Fix config file for mono 6.0+

This effectively means that we can't use the current Dockerfile.osx
to build mono < 6.0, as the DLL path changed.
This commit is contained in:
Rémi Verschelde
2019-11-23 11:09:19 +01:00
parent 8208704ccb
commit 5d8005ab41
2 changed files with 7 additions and 3 deletions

View File

@@ -38,8 +38,10 @@ RUN git clone https://github.com/mono/mono --branch ${mono_version} --single-bra
ln -s /usr/bin/mono /root/dependencies/mono/bin/mono && \
ln -s /usr/bin/mono-sgen /root/dependencies/mono/bin/mono-sgen && \
ln -sf /usr/lib/mono/* /root/dependencies/mono/lib/mono && \
cp -rvp /etc/mono /root/dependencies/mono/etc && \
cp /root/files/mono-config-macosx /root/dependencies/mono/etc/config && \
mkdir -p /root/dependencies/mono/etc && \
cp -rvp /etc/mono /root/dependencies/mono/etc/ && \
cp /root/dependencies/mono/etc/mono/config{,.bak} && \
cp /root/files/mono-config-macosx /root/dependencies/mono/etc/mono/config && \
rm -rf /root/mono
ENV MONO64_PREFIX=/root/dependencies/mono