summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2015-01-29 17:02:19 +0100
committerEdward Hervey <bilboed@bilboed.com>2015-01-29 17:04:26 +0100
commitb9ab041517efae9a0a9ad6ced7511caed63f09ef (patch)
tree55e5482831976db209601c53d0ce79d658ba7182 /data
parent99f7629412d79085a82b842483eeb54e2b3dd165 (diff)
data/ndk: ld.gold is not available on aarch64 toolchains
And ld.bfd does stupid things in the android linking phase
Diffstat (limited to 'data')
-rwxr-xr-xdata/ndk-build/gstreamer-1.0.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/data/ndk-build/gstreamer-1.0.mk b/data/ndk-build/gstreamer-1.0.mk
index a0a583b8..853e405c 100755
--- a/data/ndk-build/gstreamer-1.0.mk
+++ b/data/ndk-build/gstreamer-1.0.mk
@@ -78,7 +78,11 @@ GSTREAMER_ANDROID_SO := $(GSTREAMER_BUILD_DIR)/lib$(GSTREAMER_ANDROID_M
GSTREAMER_ANDROID_C := $(GSTREAMER_BUILD_DIR)/$(GSTREAMER_ANDROID_MODULE_NAME).c
GSTREAMER_ANDROID_C_IN := $(GSTREAMER_NDK_BUILD_PATH)/gstreamer_android-1.0.c.in
GSTREAMER_DEPS := $(GSTREAMER_EXTRA_DEPS) gstreamer-1.0
-GSTREAMER_LD := -fuse-ld=gold
+ifeq ($(TARGET_ARCH_ABI),arm64-v8a)
+ GSTREAMER_LD := -fuse-ld=mcld
+else
+ GSTREAMER_LD := -fuse-ld=gold
+endif
################################
# NDK Build Prebuilt library #