From 20322c25e7648215f8d01c05acd13c0b8275bf38 Mon Sep 17 00:00:00 2001 From: Chih-Hung Hsieh Date: Mon, 25 Jan 2016 10:28:26 -0800 Subject: [PATCH] Include libz for new libelf. New external/elfutils needs libz. Change-Id: Ib2f2d56d4831809509a0fb3a849656f68adece7f --- tools/relocation_packer/Android.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/relocation_packer/Android.mk b/tools/relocation_packer/Android.mk index 35c97a8c3..2bf77b9c2 100644 --- a/tools/relocation_packer/Android.mk +++ b/tools/relocation_packer/Android.mk @@ -30,7 +30,7 @@ LOCAL_SRC_FILES := \ src/packer.cc \ src/sleb128.cc \ -LOCAL_STATIC_LIBRARIES := libelf +LOCAL_STATIC_LIBRARIES := libelf libz LOCAL_C_INCLUDES := external/elfutils/src/libelf LOCAL_MODULE := lib_relocation_packer @@ -45,7 +45,7 @@ include $(CLEAR_VARS) LOCAL_CPP_EXTENSION := .cc LOCAL_SRC_FILES := src/main.cc -LOCAL_STATIC_LIBRARIES := lib_relocation_packer libelf +LOCAL_STATIC_LIBRARIES := lib_relocation_packer libelf libz # Statically linking libc++ to make it work from prebuilts LOCAL_CXX_STL := libc++_static @@ -70,7 +70,7 @@ LOCAL_SRC_FILES := \ src/sleb128_unittest.cc \ src/packer_unittest.cc \ -LOCAL_STATIC_LIBRARIES := lib_relocation_packer libelf +LOCAL_STATIC_LIBRARIES := lib_relocation_packer libelf libz LOCAL_C_INCLUDES := external/elfutils/src/libelf LOCAL_CPPFLAGS := $(common_cppflags)