node --vars returns nothing in 0.6

39 views
Skip to first unread message

Stephen Veit

unread,
Dec 4, 2011, 3:08:39 PM12/4/11
to nodejs
I am trying to use libxmljs with Node.js 0.6.5. In order to build, libxmljs depends on "node --vars" returning the NODE_CFLAGS define. This is no longer defined since node_version.h no longer includes node_config.h. Is this a bug or intentional? How is a module that needs to compile against include/node headers supposed to find where the headers are located?

--
Stephen Veit

Oleg Efimov (Sannis)

unread,
Dec 4, 2011, 7:13:39 PM12/4/11
to nod...@googlegroups.com

Ben Noordhuis

unread,
Dec 5, 2011, 12:29:45 AM12/5/11
to nod...@googlegroups.com

https://github.com/joyent/node/issues/1536

tl;dr: it's gone, use the process object.

Reply all
Reply to author
Forward
0 new messages