diff options
Diffstat (limited to 'toybox/Android.mk')
-rw-r--r-- | toybox/Android.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/toybox/Android.mk b/toybox/Android.mk index 5f6edec3f..0850d5845 100644 --- a/toybox/Android.mk +++ b/toybox/Android.mk @@ -585,7 +585,11 @@ $(SYMLINKS): $(LOCAL_INSTALLED_MODULE) $(LOCAL_PATH)/Android.mk include $(CLEAR_VARS) LOCAL_MODULE := toybox_symlinks LOCAL_MODULE_TAGS := optional -LOCAL_ADDITIONAL_DEPENDENCIES := $(SYMLINKS) +ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 28; echo $$?),0) + LOCAL_REQUIRED_MODULES := $(SYMLINKS) +else + LOCAL_ADDITIONAL_DEPENDENCIES := $(SYMLINKS) +endif include $(BUILD_PHONY_PACKAGE) endif |