Include libz for new libelf.
New external/elfutils needs libz. Change-Id: Ib2f2d56d4831809509a0fb3a849656f68adece7f
This commit is contained in:
parent
8d6e19408c
commit
20322c25e7
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue