diff options
Diffstat (limited to 'toolbox')
-rw-r--r-- | toolbox/Android.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/toolbox/Android.mk b/toolbox/Android.mk index 926743850..986b7a4ec 100644 --- a/toolbox/Android.mk +++ b/toolbox/Android.mk @@ -307,7 +307,11 @@ $(SYMLINKS): $(LOCAL_INSTALLED_MODULE) include $(CLEAR_VARS) LOCAL_MODULE := toolbox_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) ifneq (,$(filter $(PLATFORM_SDK_VERSION),16 17 18)) |