mafintosh/fuse-bindings

Pass arguments to `prebuild`

Opened this issue · 1 comments

The start script is defined as prebuild --install, ignoring any argument given to it. This makes on NodeOS that it can't be cross-compiled, because this way it always gets the CPU arch of the Node.js process instead of the one I'm giving it explicitly, making the node-gyp execution to fail. I think just by changing the start script to prebuild --install @ to pass it all the arguments that has been already passed to the npm start execution would be just enough. How do you see it?

prebuild/prebuild#156 fixes that in a generic way, so once it get merged we can close this issue. It has been already tested with the exclfs package.