From 2a6342187a4cbb0a8804394649893b8a306ceaeb Mon Sep 17 00:00:00 2001 From: Dmitriy Ivanov Date: Wed, 22 Apr 2015 10:43:12 -0700 Subject: 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 --- tools/relocation_packer/Android.mk | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools') 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 -- cgit v1.1