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