Created
March 14, 2017 13:42
-
-
Save directhex/d924f679cb2859291b521006a3bfec6b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
# Automatically added by dh_monoaot | |
if [ "$1" = "configure" ] | |
then | |
MONOARCH=`mono --version | grep Architecture | sed 's/.*: //' | sed 's/el,.*//'` | |
mkdir -p /usr/lib/mono/aot-cache/${MONOARCH}/ | |
/usr/bin/mono --aot=outfile=/usr/lib/mono/aot-cache/${MONOARCH}/`basename /usr/lib/mono/4.5/mscorlib.dll.so` -O=all /usr/lib/mono/4.5/mscorlib.dll > /dev/null 2>&1 || true | |
fi | |
# End automatically added section |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment