You've already forked linux-packaging-mono
Refresh dh_monoaot to work from a manifest file, debian/installmonoaot, into $PREFIX/mono/lib/aot-cache/$ARCH
Former-commit-id: ededb551d3f504a906f74f62b979a0fabe70bf7e
This commit is contained in:
4
debian/postinst-monoaot
vendored
4
debian/postinst-monoaot
vendored
@@ -1,4 +1,6 @@
|
||||
if [ "$1" = "configure" ]
|
||||
then
|
||||
/usr/bin/mono --aot -O=all,shared #FILE# > /dev/null 2>&1
|
||||
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
|
||||
|
Reference in New Issue
Block a user