From 83b5c08151efcf1b4e1f97e262b01317bf0e297d Mon Sep 17 00:00:00 2001 From: Gautier Pelloux-Prayer Date: Sun, 4 Jan 2015 21:03:18 +0100 Subject: [PATCH] Fix Linphone build when using android NDK r9b specific version (missing some system headers) --- metadata/org.linphone.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/metadata/org.linphone.txt b/metadata/org.linphone.txt index f8ee559f39..a6c3e6d37b 100644 --- a/metadata/org.linphone.txt +++ b/metadata/org.linphone.txt @@ -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 && \