vlc | branch: master | Alexandre Janniaux <[email protected]> | Tue Nov 26 10:56:41 2019 +0100| [e08b8f6a8431fefe142a85e24e08a1c6dcc74183] | committer: Thomas Guillem
contrib: main: export ANDROID_API in CFLAGS The headers from Android NDK will use them to expose the functions according to their arrival in the SDK. Without this option, it could raise issues with Meson build systems depending on Android features in some environment configuration. Signed-off-by: Thomas Guillem <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e08b8f6a8431fefe142a85e24e08a1c6dcc74183 --- contrib/src/main.mak | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/contrib/src/main.mak b/contrib/src/main.mak index fcc5411743..4ce040bb4f 100644 --- a/contrib/src/main.mak +++ b/contrib/src/main.mak @@ -544,6 +544,10 @@ ifdef HAVE_DARWIN_OS CMAKE_SYSTEM_NAME = Darwin endif +ifdef HAVE_ANDROID +CFLAGS += -DANDROID_NATIVE_API_LEVEL=$(ANDROID_API) +endif + # CMake toolchain toolchain.cmake: $(RM) $@ _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
