Skip to content
This repository

Fetching latest commit…

Cannot retrieve the latest commit at this time

node-ffi uses a bundled libffi (untouched).

libffi should be statically compiled using its build system before compiling node-ffi.

On a Unix system:

  $ ./configure --enable-static --disable-shared
  $ make

On a Windows system:

First install MSVC++ (google). Second install MozillaBuild:

Note to fix the CC target path to the file if it's different for you.

  $ ./configure CC="sh /c/node-ffi/deps/libffi/" LD=link CPP="cl -nologo -EP" CFLAGS="" --enable-static --disable-shared
  $ make

Now that the bundled libffi is compiled, you may proceed with compiling node-ffi.
Something went wrong with that request. Please try again.