Skip to content

Instantly share code, notes, and snippets.

@blechatellier
blechatellier / node-gyp-cross.sh
Created February 15, 2018 05:01 — forked from kevinmehall/node-gyp-cross.sh
node-gyp cross-compile
#!/bin/bash
set -e
if [ ! -d "$STAGING_DIR" ]; then
echo "STAGING_DIR needs to be set to your cross toolchain path";
exit 1
fi
ARCH=${ARCH:-mipsel}
NODE=${NODE:-0.10.33}