Skip to content
Permalink
Browse files

Get Servo2D to build with debugmozjs

  • Loading branch information...
asajeffrey committed May 3, 2019
1 parent 8100832 commit 2f47f49d2681a0b4e6a607969c0b81a2dc1951b9
Showing with 5 additions and 1 deletion.
  1. +4 −0 support/magicleap/Servo2D/Servo2D.mabu
  2. +1 −1 support/magicleap/fake-ld.sh
@@ -14,10 +14,14 @@ LIBPATHS.debug = \
LIBPATHS.release = \
../../../target/magicleap/aarch64-linux-android/release

LDFLAGS.device = \
-L$(MLSDK)/lumin/stl/libc++/lib

STLIBS = \
mlservo

SHLIBS = \
c++abi \
log \
z

@@ -11,7 +11,7 @@ set -o pipefail
MAGICLEAP_TOOLCHAIN=${MAGICLEAP_TOOLCHAIN:-"${MAGICLEAP_SDK}/tools/toolchains"}
TARGET=${TARGET:-"aarch64-linux-android"}
LD=${LD:-"${MAGICLEAP_TOOLCHAIN}/bin/${TARGET}-ld"}
LDFLAGS=${LDFLAGS:-"-L${MAGICLEAP_SDK}/lumin/stl/libc++/lib -L${MAGICLEAP_SDK}/lumin/usr/lib -L${MAGICLEAP_TOOLCHAIN}/lib/gcc/${TARGET}/4.9.x ${MAGICLEAP_SDK}/lumin/usr/lib/crtbegin_so.o"}
LDFLAGS=${LDFLAGS:-"-L${MAGICLEAP_SDK}/lumin/stl/libc++/lib -L${MAGICLEAP_SDK}/lumin/usr/lib -L${MAGICLEAP_TOOLCHAIN}/lib/gcc/${TARGET}/4.9.x"}

# Remove the -landroid flag, grr
ARGS=("$@")

0 comments on commit 2f47f49

Please sign in to comment.
You can’t perform that action at this time.