Fix Linphone build when using android NDK r9b specific version (missing some system headers)

This commit is contained in:
Gautier Pelloux-Prayer 2015-01-04 21:03:18 +01:00
parent 17067cd739
commit 83b5c08151

View file

@ -71,10 +71,12 @@ Build:2.2.1.1,2211
build=make generate-libs BUILD_SILK=0 BUILD_AMRNB=light BUILD_GPLV3_ZRTP=1 BUILD_G729=0 BUILD_TUNNEL=0
buildjni=no
#note: first prebuild operation is only needed to build openh264 with android NDK r9b which misses some headers for API 12
Build:2.3.2-fdroid,2302
commit=0f4de68
submodules=yes
prebuild= find submodules/externals/antlr3/runtime/ -mindepth 1 -maxdepth 1 -not -name "C" -exec rm -r {} \; && \
prebuild= sed -i 's/NDKLEVEL = 12/NDKLEVEL = 13/' submodules/externals/openh264/build/platform-android.mk && \
find submodules/externals/antlr3/runtime/ -mindepth 1 -maxdepth 1 -not -name "C" -exec rm -r {} \; && \
rm -rf gradle liblinphone_tester tests && \
rm -rf submodules/externals/antlr3/antlr-3.4-complete.jar && \
rm -rf submodules/externals/antlr3/antlr-ant && \