aboutsummaryrefslogtreecommitdiffstats
path: root/android
diff options
context:
space:
mode:
Diffstat (limited to 'android')
-rw-r--r--android/build.mk4
-rw-r--r--android/include/libavutil/ffversion.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/android/build.mk b/android/build.mk
index cc65a0b965..70641d1285 100644
--- a/android/build.mk
+++ b/android/build.mk
@@ -95,8 +95,8 @@ LOCAL_CFLAGS += \
-Wno-pointer-to-int-cast -Wstrict-prototypes -Wempty-body -Wno-parentheses \
-Wno-switch -Wno-format-zero-length -Wno-pointer-sign \
-Werror=format-security -Werror=implicit-function-declaration -Werror=missing-prototypes \
- -Werror=return-type -Werror=vla -Wformat -Wno-maybe-uninitialized
+ -Werror=return-type -Werror=vla -Wformat -Wno-maybe-uninitialized -fPIC
-LOCAL_LDFLAGS := -Wl,--no-fatal-warnings
+LOCAL_LDFLAGS := -Wl,--no-fatal-warnings -Wl,-Bsymbolic
LOCAL_SHARED_LIBRARIES := $(sort $(FFLIBS-yes:%=lib%) $(FFLIBS:%=lib%))
diff --git a/android/include/libavutil/ffversion.h b/android/include/libavutil/ffversion.h
new file mode 100644
index 0000000000..3493568ed0
--- /dev/null
+++ b/android/include/libavutil/ffversion.h
@@ -0,0 +1,4 @@
+#ifndef AVUTIL_FFVERSION_H
+#define AVUTIL_FFVERSION_H
+#define FFMPEG_VERSION "8827553"
+#endif /* AVUTIL_FFVERSION_H */