[nodejs] how to link multiple dependencies with node-gyp

2012-08-20 Thread rhasson
I'm building a native-addon and I'm using an external dependency that when compiles outputs an object file (.o). I want my project to compile, then compile the external dependency (via makefile not gyp) and then link the resulting objects together to create my addon. Is there a way to do

Re: [nodejs] how to link multiple dependencies with node-gyp

2012-08-20 Thread Nathan Rajlich
What is the external library / addon in question? If the library is simple enough, the best way is to write a .gyp file for it and do it the gyp way. I would highly encourage you to attempt to do that. An example of this is node-sqlite3's sqlite3.gyp file: