shithub: openh264

Download patch

ref: ed4db186a1b1477394c9f4126a6460de61df1998
parent: 0b80b7fa790bed9b1f5a79cfc4c95e88e2cd9797
parent: 33a7e02261d1d9909265cf7c1a00e1afe58b1422
author: Ethan Hugg <[email protected]>
date: Thu Jul 24 04:20:16 EDT 2014

Merge pull request #1207 from mstorsjo/android-compiler-check

Check that a working android toolchain was found

--- a/build/platform-android.mk
+++ b/build/platform-android.mk
@@ -46,6 +46,10 @@
 LDFLAGS += --sysroot=$(SYSROOT)
 SHLDFLAGS = -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,-soname,lib$(PROJECT_NAME).so
 
+ifneq ($(CXX),$(wildcard $(CXX)))
+$(error Compiler not found, bad NDKROOT or ARCH?)
+endif
+
 STL_INCLUDES = \
     -I$(NDKROOT)/sources/cxx-stl/stlport/stlport
 STL_LIB = \