diff --git a/core/Makefile b/core/Makefile index 947114822..4075c492c 100644 --- a/core/Makefile +++ b/core/Makefile @@ -2384,6 +2384,7 @@ $1: exit 1; \ fi ln -sfn $2 $1 +$1: .KATI_SYMLINK_OUTPUTS := $1 ) $1 endef diff --git a/core/definitions.mk b/core/definitions.mk index bfbeee3a3..daac65249 100644 --- a/core/definitions.mk +++ b/core/definitions.mk @@ -2610,6 +2610,7 @@ $(3): $(1) @mkdir -p $(dir $$@) @rm -rf $$@ $(hide) ln -sf $(2) $$@ +$(3): .KATI_SYMLINK_OUTPUTS := $(3) endef # Copy an apk to a target location while removing classes*.dex