From e43f501f3d4fda8578da519fc50d9156d8828e3a Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Thu, 7 Aug 2014 22:21:08 -0700 Subject: Fix the build after -Bsymbolic fix. Bug: 16853291 Change-Id: Idc9808f76e8be7afb70513c4036b57c91690728e (cherry picked from commit 8173554d5b5e25215e9c591a0dbb92b8c0ff082e) --- media/libstagefright/codecs/hevcdec/Android.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'media/libstagefright/codecs/hevcdec') diff --git a/media/libstagefright/codecs/hevcdec/Android.mk b/media/libstagefright/codecs/hevcdec/Android.mk index 960602f..c0c694e 100644 --- a/media/libstagefright/codecs/hevcdec/Android.mk +++ b/media/libstagefright/codecs/hevcdec/Android.mk @@ -20,6 +20,10 @@ LOCAL_SHARED_LIBRARIES += libstagefright_foundation LOCAL_SHARED_LIBRARIES += libutils LOCAL_SHARED_LIBRARIES += liblog +# We need this because the current asm generates the following link error: +# requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC +# Bug: 16853291 +LOCAL_LDFLAGS := -Wl,-Bsymbolic include $(BUILD_SHARED_LIBRARY) -- cgit v1.1