bb95674019
Former-commit-id: ededb551d3f504a906f74f62b979a0fabe70bf7e
7 lines
270 B
Plaintext
7 lines
270 B
Plaintext
if [ "$1" = "configure" ]
|
|
then
|
|
MONOARCH=`mono --version | grep Architecture | sed 's/.*: //'`
|
|
mkdir -p /usr/lib/mono/aot-cache/${MONOARCH}/
|
|
/usr/bin/mono --aot=outfile=/usr/lib/mono/aot-cache/${MONOARCH}/`basename #FILE#.so` -O=all,shared #FILE# > /dev/null 2>&1
|
|
fi
|