Change AOT flags used at install time, to avoid segfault
Former-commit-id: 021dd4cb8d70ab81f8d4216c70ed7affc0acfb22
This commit is contained in:
parent
5165c9906e
commit
9dbd206e43
2
debian/postinst-monoaot
vendored
2
debian/postinst-monoaot
vendored
@ -2,5 +2,5 @@ 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
|
||||
/usr/bin/mono --aot=outfile=/usr/lib/mono/aot-cache/${MONOARCH}/`basename #FILE#.so` -O=all #FILE# > /dev/null 2>&1 || true
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user