Skip to content

Instantly share code, notes, and snippets.

@jcmoore
Created April 8, 2013 21:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jcmoore/5340575 to your computer and use it in GitHub Desktop.
Save jcmoore/5340575 to your computer and use it in GitHub Desktop.
part of a solution when dealing with failure to dynamically link libraries to appjs when built from scratch on a system in which the global nodejs install differs from the nodejs packaged with the app itself. (the path/version should be substituted to meet your own needs)
#include "../node-32/src/node-v0.8.22-darwin-x86/include/node/node.h"
#include "../node-32/src/node-v0.8.22-darwin-x86/include/node/node_version.h"
#include "../node-32/src/node-v0.8.22-darwin-x86/include/node/node_buffer.h"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment