2014-08-13 12:08:26 +01:00
|
|
|
if [ "$1" = "configure" ]
|
|
|
|
then
|
2015-01-13 16:18:26 +00:00
|
|
|
MONOARCH=`mono --version | grep Architecture | sed 's/.*: //'`
|
|
|
|
mkdir -p /usr/lib/mono/aot-cache/${MONOARCH}/
|
2015-01-21 16:23:37 +00:00
|
|
|
/usr/bin/mono --aot=outfile=/usr/lib/mono/aot-cache/${MONOARCH}/`basename #FILE#.so` -O=all,shared #FILE# > /dev/null 2>&1 || true
|
2014-08-13 12:08:26 +01:00
|
|
|
fi
|