Closed jwinarske closed 6 years ago
Awesome! Thanks for this.
It seems that starting cmake 3.7 there is the ANDROID variable (https://cmake.org/cmake/help/v3.7/manual/cmake-variables.7.html#variables-that-describe-the-system). Could a version check prevent the pthread hotpatch for cmake>=3.7 by not adding pthread to the PA_PKGCONFIG_LDFLAGS and PA_LIBRARY_DEPENDENCIES variables?
Hi there,
This PR adds CMake support for using OpenSLES. Beyond these changes, I build for Android using a shell script as listed below. Pthread is included in another system library, hence the hot patch for Android: