2ff7594f46
Former-commit-id: 3176827268fb94cd12395aef6d8b3eefb1f2cb80
7 lines
296 B
Plaintext
7 lines
296 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,shared #FILE# > /dev/null 2>&1 || true
|
|
fi
|