From 8b3bf7d0642cc9f95a243d0abb932c7cdca93004 Mon Sep 17 00:00:00 2001 From: Josh Matthews Date: Mon, 15 Apr 2019 13:56:17 -0400 Subject: [PATCH] Use linker directly to to avoid linker errors. --- demo/magicleap/fake-ld.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/demo/magicleap/fake-ld.sh b/demo/magicleap/fake-ld.sh index 88f32377..5efcaf5e 100755 --- a/demo/magicleap/fake-ld.sh +++ b/demo/magicleap/fake-ld.sh @@ -8,8 +8,8 @@ set -o nounset set -o pipefail TARGET=${TARGET:-"aarch64-linux-android"} -LD=${LD:-"${MAGICLEAP_SDK}/tools/toolchains/bin/${TARGET}-gcc"} -LDFLAGS=${LDFLAGS:-"--sysroot=${MAGICLEAP_SDK}/lumin -L${MAGICLEAP_SDK}/tools/toolchains/lib/gcc/${TARGET}/4.9.x ${MAGICLEAP_SDK}/lumin/usr/lib/crtbegin_so.o"} +LD=${LD:-"${MAGICLEAP_SDK}/tools/toolchains/bin/${TARGET}-ld"} +LDFLAGS=${LDFLAGS:-"--sysroot=${MAGICLEAP_SDK}/lumin -L${MAGICLEAP_SDK}/lumin/usr/lib -L${MAGICLEAP_SDK}/tools/toolchains/lib/gcc/${TARGET}/4.9.x ${MAGICLEAP_SDK}/lumin/usr/lib/crtbegin_so.o"} # Remove the -landroid flag, grr ARGS=("$@")