shithub: libvpx

Download patch

ref: 7317ce8bd4bd1c9d59dce938dbbc36a72eb49c26
parent: cbeae53e765fa47d2e5d21d0682812663fd0f963
author: James Zern <[email protected]>
date: Fri Nov 18 13:53:22 EST 2016

build/make/Android.mk: use -fPIC w/ENABLE_SHARED=1

fixes reloc errors like:
R_X86_64_PC32
vpx_dsp/x86/deblock_sse2.o:
requires dynamic R_X86_64_PC32 reloc against 'vpx_rv' which may overflow
at runtime

Change-Id: I218fc0e7c8258197f890d395f335e5a4fe82dccb

--- a/build/make/Android.mk
+++ b/build/make/Android.mk
@@ -202,6 +202,7 @@
 	@$(RM) $(CLEAN-OBJS)
 
 ifeq ($(ENABLE_SHARED),1)
+  LOCAL_CFLAGS += -fPIC
   include $(BUILD_SHARED_LIBRARY)
 else
   include $(BUILD_STATIC_LIBRARY)