OSDN Git Service

Explicitly link libz-host to libart.
authorEvgenii Stepanov <eugenis@google.com>
Mon, 29 Jun 2015 23:23:34 +0000 (16:23 -0700)
committerEvgenii Stepanov <eugenis@google.com>
Mon, 29 Jun 2015 23:23:34 +0000 (16:23 -0700)
A change in system/core/libziparchive will make libziparchive-host
depend on libz-host as a shared library instead of a static library.
As a result, only on MacOS, libziparchive-host will stop re-exporting
libz-host interface. Libart uses both and must link both.

Change-Id: Ie4ae9b27903cbcbdb2d2043969a7fceba32249be

runtime/Android.mk

index 5ed6955..19079cb 100644 (file)
@@ -478,7 +478,7 @@ $$(ENUM_OPERATOR_OUT_GEN): $$(GENERATED_SRC_DIR)/%_operator_out.cc : $(LOCAL_PAT
     # For liblog, atrace, properties, ashmem, set_sched_policy and socket_peer_is_trusted.
     LOCAL_SHARED_LIBRARIES += libcutils
   else # host
-    LOCAL_SHARED_LIBRARIES += libziparchive-host
+    LOCAL_SHARED_LIBRARIES += libziparchive-host libz-host
     # For ashmem_create_region.
     LOCAL_SHARED_LIBRARIES += libcutils
   endif