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

Check that a working android toolchain was found
This commit is contained in:
Ethan Hugg 2014-07-24 08:20:16 -07:00
commit ed4db186a1

View File

@ -46,6 +46,10 @@ CXXFLAGS += -fno-rtti -fno-exceptions
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 = \