9dbd206e43
Former-commit-id: 021dd4cb8d70ab81f8d4216c70ed7affc0acfb22
7 lines
289 B
Plaintext
7 lines
289 B
Plaintext
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 #FILE#.so` -O=all #FILE# > /dev/null 2>&1 || true
|
|
fi
|