frameworks/native: link host libutils against external/zlib
Fix the SDK build by statically linking host libutils against libz from external/zlib. Change-Id: Id6805d3c9071e6fa0559024336642b5386cf3c52
This commit is contained in:
parent
163d5a9fa7
commit
1c6cd3803e
@ -68,6 +68,9 @@ endif
|
|||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
LOCAL_SRC_FILES:= $(commonSources)
|
LOCAL_SRC_FILES:= $(commonSources)
|
||||||
LOCAL_MODULE:= libutils
|
LOCAL_MODULE:= libutils
|
||||||
|
LOCAL_STATIC_LIBRARIES := libz
|
||||||
|
LOCAL_C_INCLUDES := \
|
||||||
|
external/zlib
|
||||||
LOCAL_CFLAGS += $(host_commonCflags)
|
LOCAL_CFLAGS += $(host_commonCflags)
|
||||||
LOCAL_LDLIBS += $(host_commonLdlibs)
|
LOCAL_LDLIBS += $(host_commonLdlibs)
|
||||||
include $(BUILD_HOST_STATIC_LIBRARY)
|
include $(BUILD_HOST_STATIC_LIBRARY)
|
||||||
@ -78,6 +81,9 @@ include $(BUILD_HOST_STATIC_LIBRARY)
|
|||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
LOCAL_SRC_FILES:= $(commonSources)
|
LOCAL_SRC_FILES:= $(commonSources)
|
||||||
LOCAL_MODULE:= lib64utils
|
LOCAL_MODULE:= lib64utils
|
||||||
|
LOCAL_STATIC_LIBRARIES := libz
|
||||||
|
LOCAL_C_INCLUDES := \
|
||||||
|
external/zlib
|
||||||
LOCAL_CFLAGS += $(host_commonCflags) -m64
|
LOCAL_CFLAGS += $(host_commonCflags) -m64
|
||||||
LOCAL_LDLIBS += $(host_commonLdlibs)
|
LOCAL_LDLIBS += $(host_commonLdlibs)
|
||||||
include $(BUILD_HOST_STATIC_LIBRARY)
|
include $(BUILD_HOST_STATIC_LIBRARY)
|
||||||
|
Loading…
Reference in New Issue
Block a user