On Thu, Nov 15, 2012 at 8:56 PM, Mike Parsons <[email protected]> wrote:
> Is there a way to compile a custom extension module (i.e.
> https://github.com/developmentseed/node-sqlite3) directly into the node.exe?

Yes, but it's not supported so it might break anytime you upgrade.  In
no particular order:

- drop your code in src/ and lib/
- add your files to node.gyp
- patch src/node_extensions.h

Files in lib/ are loaded with require(), files in src/ with process.binding().

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to