Commit 21e35e89 authored by François Grisez's avatar François Grisez

Improve libmatroska2 building for Android

parent af37c1bc
......@@ -159,16 +159,23 @@ LOCAL_SRC_FILES+= \
endif
ifeq ($(BUILD_MATROSKA), 1)
LOCAL_CFLAGS += -DHAVE_MATROSKA
LOCAL_CFLAGS += \
-DHAVE_MATROSKA \
-DCONFIG_EBML_WRITING \
-DCONFIG_EBML_UNICODE \
-DCONFIG_STDIO \
-DCONFIG_FILEPOS_64 \
-DNDEBUG
LOCAL_C_INCLUDES += \
$(LOCAL_PATH)/../../../externals/build/libebml2/include \
$(LOCAL_PATH)/../../../externals/build/libmatroska/include
$(LOCAL_PATH)/../../../externals/libmatroska/corec \
$(LOCAL_PATH)/../../../externals/libmatroska/libebml2 \
$(LOCAL_PATH)/../../../externals/libmatroska/libmatroska2
LOCAL_SRC_FILES += \
videofilters/mkv.c
LOCAL_STATIC_LIBRARIES += \
libebml2 \
libmatroska2
endif #BUILD_MATROSKA
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment