diff options
author | Dmitriy Ivanov <dimitry@google.com> | 2015-04-22 10:43:12 -0700 |
---|---|---|
committer | Dmitriy Ivanov <dimitry@google.com> | 2015-04-22 10:43:12 -0700 |
commit | 2a6342187a4cbb0a8804394649893b8a306ceaeb (patch) | |
tree | 5c820b1343060f8ab3bd43143090cc46c6cffb8a /tools | |
parent | da3c4f2f0d86b7e249c9b9b6cdf3bc0225b7178e (diff) | |
download | bionic-2a6342187a4cbb0a8804394649893b8a306ceaeb.zip bionic-2a6342187a4cbb0a8804394649893b8a306ceaeb.tar.gz bionic-2a6342187a4cbb0a8804394649893b8a306ceaeb.tar.bz2 |
Statically link libc++ for prebuilts
Statically link libc++ to relocation_packer in
order to make it work from prebuilts
Bug: http://b/18051137
Change-Id: I933ed6a0e48780a26b261069eb6a293432824fe7
Diffstat (limited to 'tools')
-rw-r--r-- | tools/relocation_packer/Android.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/relocation_packer/Android.mk b/tools/relocation_packer/Android.mk index 99a39c0..eabe0da 100644 --- a/tools/relocation_packer/Android.mk +++ b/tools/relocation_packer/Android.mk @@ -46,6 +46,9 @@ LOCAL_CPP_EXTENSION := .cc LOCAL_SRC_FILES := src/main.cc LOCAL_STATIC_LIBRARIES := lib_relocation_packer libelf + +# Statically linking libc++ to make it work from prebuilts +LOCAL_CXX_STL := libc++_static LOCAL_C_INCLUDES := external/elfutils/src/libelf libnativehelper/include LOCAL_MODULE := relocation_packer |