summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Android.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index e76a3a91f..ddd2c7ded 100644
--- a/Android.mk
+++ b/Android.mk
@@ -323,7 +323,11 @@ LOCAL_ADDITIONAL_DEPENDENCIES := \
mkdosfs
ifneq ($(TARGET_ARCH), arm64)
- LOCAL_LDFLAGS += -Wl,-dynamic-linker,/sbin/linker
+ ifneq ($(TARGET_ARCH), x86_64)
+ LOCAL_LDFLAGS += -Wl,-dynamic-linker,/sbin/linker
+ else
+ LOCAL_LDFLAGS += -Wl,-dynamic-linker,/sbin/linker64
+ endif
else
LOCAL_LDFLAGS += -Wl,-dynamic-linker,/sbin/linker64
endif