Fairly simple library ( http://www.five-ten-sg.com/libpst/packages/ ). I never tried porting to gyp before but it can't hurt to try.
On Monday, August 20, 2012 4:22:33 PM UTC-4, Nathan Rajlich wrote: > > 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: > https://github.com/developmentseed/node-sqlite3/blob/7d763404079c47319f870ea1d11636517f1f0821/deps/sqlite3/sqlite3.gyp#L40-68 > > > However, sometimes that's not an option, maybe because the library's > configuration is too complicated or whatever, and the only solution > I've come up with is rather nasty. See node-ffi: > https://github.com/rbranson/node-ffi/blob/master/binding.gyp#L45-66 > > On Mon, Aug 20, 2012 at 12:56 PM, rhasson <rha...@gmail.com <javascript:>> > wrote: > > 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 that? > > > > Thanks, > > Roy > > > > -- > > 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 nod...@googlegroups.com<javascript:> > > To unsubscribe from this group, send email to > > nodejs+un...@googlegroups.com <javascript:> > > For more options, visit this group at > > http://groups.google.com/group/nodejs?hl=en?hl=en > -- 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 nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en