Use linker64 on AArch64
Patch Set 3: Combine into one sed - by bigbiff
Change-Id: Ice3147fae76575f6e09c7df201bcd3f949aa24ea
diff --git a/Android.mk b/Android.mk
index 3433d09..207ee16 100644
--- a/Android.mk
+++ b/Android.mk
@@ -307,8 +307,6 @@
LOCAL_CFLAGS += -DANDROID_VERSION=5
endif
-LOCAL_LDFLAGS += -Wl,-dynamic-linker,/sbin/linker
-
LOCAL_ADDITIONAL_DEPENDENCIES := \
dump_image \
erase_image \
@@ -328,6 +326,9 @@
dosfslabel \
fsck_msdos_symlink \
mkdosfs
+ LOCAL_LDFLAGS += -Wl,-dynamic-linker,/sbin/linker
+else
+ LOCAL_LDFLAGS += -Wl,-dynamic-linker,/sbin/linker64
endif
ifneq ($(TW_USE_TOOLBOX), true)
LOCAL_ADDITIONAL_DEPENDENCIES += busybox_symlinks