Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (20 sloc) 0.639 kB
#!/bin/sh
cd deps/libffi
if [ "x$OSTYPE" = "xmsys" ]; then
if [ "x$MOZILLABUILD" = "x" ]; then
echo "FATAL: node-ffi must be installed from within a MozillaBuild window" >&2
exit 1
fi
export CC="`pwd`/msvcc.sh"
export LD="link"
export CPP="cl -nologo -EP"
export CFLAGS=""
fi
make clean distclean >node_ffi_configure.out 2>&1
sh configure --enable-static --disable-shared --disable-builddir --with-pic >>node_ffi_configure.out 2>&1
if [ "x$OSTYPE" = "xmsys" ]; then
# need to invoke "make" immediately on windows (instead of during `build`)
make >node_ffi_build.out 2>&1
echo $? >>node_ffi_build.out
fi
cd ../..
Jump to Line
Something went wrong with that request. Please try again.