summaryrefslogtreecommitdiffstats
path: root/pigz/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'pigz/Android.mk')
-rw-r--r--pigz/Android.mk12
1 files changed, 6 insertions, 6 deletions
diff --git a/pigz/Android.mk b/pigz/Android.mk
index 6ff50b846..7a5a4ee92 100644
--- a/pigz/Android.mk
+++ b/pigz/Android.mk
@@ -24,9 +24,9 @@ $(SYMLINKS): $(LOCAL_INSTALLED_MODULE)
@rm -rf $@
$(hide) ln -sf $(PIGZ_BINARY) $@
-ALL_DEFAULT_INSTALLED_MODULES += $(SYMLINKS)
-
-# We need this so that the installed files could be picked up based on the
-# local module name
-ALL_MODULES.$(LOCAL_MODULE).INSTALLED := \
- $(ALL_MODULES.$(LOCAL_MODULE).INSTALLED) $(SYMLINKS)
+include $(CLEAR_VARS)
+LOCAL_MODULE := unpigz_symlink
+LOCAL_MODULE_TAGS := optional
+LOCAL_ADDITIONAL_DEPENDENCIES := $(SYMLINKS)
+include $(BUILD_PHONY_PACKAGE)
+SYMLINKS :=