summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Android.common.mk2
-rw-r--r--src/util/Android.mk4
2 files changed, 2 insertions, 4 deletions
diff --git a/Android.common.mk b/Android.common.mk
index 611162ab9a9..04045bd5a67 100644
--- a/Android.common.mk
+++ b/Android.common.mk
@@ -125,3 +125,5 @@ endif
# Quiet down the build system and remove any .h files from the sources
LOCAL_SRC_FILES := $(patsubst %.h, , $(LOCAL_SRC_FILES))
+
+LOCAL_SHARED_LIBRARIES += libz
diff --git a/src/util/Android.mk b/src/util/Android.mk
index a139e68d514..a39185ae49e 100644
--- a/src/util/Android.mk
+++ b/src/util/Android.mk
@@ -53,8 +53,6 @@ $(LOCAL_GENERATED_SOURCES): PRIVATE_CUSTOM_TOOL = $(PRIVATE_PYTHON) $^ > $@
$(LOCAL_GENERATED_SOURCES): $(intermediates)/%.c: $(LOCAL_PATH)/%.py
$(transform-generated-source)
-LOCAL_SHARED_LIBRARIES := libz
-
include $(MESA_COMMON_MK)
include $(BUILD_STATIC_LIBRARY)
@@ -90,7 +88,5 @@ $(LOCAL_GENERATED_SOURCES): PRIVATE_CUSTOM_TOOL = $(PRIVATE_PYTHON) $^ > $@
$(LOCAL_GENERATED_SOURCES): $(intermediates)/%.c: $(LOCAL_PATH)/%.py
$(transform-generated-source)
-LOCAL_SHARED_LIBRARIES := libz
-
include $(MESA_COMMON_MK)
include $(BUILD_HOST_STATIC_LIBRARY)