Include libz for new libelf.

New external/elfutils needs libz.

Change-Id: Ib2f2d56d4831809509a0fb3a849656f68adece7f
This commit is contained in:
Chih-Hung Hsieh 2016-01-25 10:28:26 -08:00
parent 8d6e19408c
commit 20322c25e7
1 changed files with 3 additions and 3 deletions

View File

@ -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)