Warn users of Telechips devices that app will crash with their broken libc

This commit is contained in:
pelya
2011-06-22 16:43:22 +03:00
parent 4e214b0ffd
commit 819febb3af
10 changed files with 107 additions and 11 deletions

View File

@@ -661,7 +661,7 @@ mv -f project/src/Globals.java.1 project/src/Globals.java
echo Patching project/jni/Settings.mk
echo '# DO NOT EDIT THIS FILE - it is automatically generated, edit file SettingsTemplate.mk' > project/jni/Settings.mk
cat project/jni/SettingsTemplate.mk | \
sed "s/APP_MODULES := .*/APP_MODULES := application sdl-$LibSdlVersion sdl_main stlport jpeg png ogg flac vorbis freetype $CompiledLibraries/" | \
sed "s/APP_MODULES := .*/APP_MODULES := application sdl-$LibSdlVersion sdl_main stlport jpeg png ogg flac vorbis freetype stdout-test $CompiledLibraries/" | \
sed "s/APP_ABI := .*/APP_ABI := $MultiABI/" | \
sed "s/SDL_JAVA_PACKAGE_PATH := .*/SDL_JAVA_PACKAGE_PATH := $AppFullNameUnderscored/" | \
sed "s^SDL_CURDIR_PATH := .*^SDL_CURDIR_PATH := $DataPath^" | \
@@ -718,6 +718,7 @@ if [ -d "project/jni/application/src/AndroidData" ] ; then
fi
done
cp project/jni/application/src/AndroidData/* project/assets/
ln -s ../libs/armeabi/stdout-test project/assets/
fi
echo Done