Fixed crash in Java code

This commit is contained in:
pelya
2012-09-07 02:40:56 +03:00
parent b2e3453209
commit bfad9ca7b0
7 changed files with 25 additions and 15 deletions

View File

@@ -42,8 +42,7 @@ if uname -s | grep -i "windows" > /dev/null ; then
fi
rm -r -f project/bin/* # New Android SDK introduced some lame-ass optimizations to the build system which we should take care about
cd project && env PATH=$NDKBUILDPATH nice -n19 ndk-build V=1 -j$NCPU && \
cd project && env PATH=$NDKBUILDPATH nice -n19 ndk-build -j$NCPU && \
{ grep "CustomBuildScript=y" ../AndroidAppSettings.cfg > /dev/null && \
[ -`which ndk-build | xargs readlink -f | grep '/android-ndk-r[56789]'` != - ] && \
echo Stripping libapplication.so by hand \