diff --git a/linker/Android.mk b/linker/Android.mk index 1bf3e9def..bdc54de44 100644 --- a/linker/Android.mk +++ b/linker/Android.mk @@ -16,7 +16,10 @@ LOCAL_SRC_FILES:= \ linker_phdr.cpp \ rt.cpp \ -LOCAL_LDFLAGS := -shared -Wl,--exclude-libs,ALL +LOCAL_LDFLAGS := \ + -shared \ + -Wl,-Bsymbolic \ + -Wl,--exclude-libs,ALL \ LOCAL_CFLAGS += \ -fno-stack-protector \