Commit 1520c7bf authored by Nathan Rajlich's avatar Nathan Rajlich Committed by Ben Noordhuis
Browse files

addon: add module_root_dir gyp variable

For native modules to use in their gyp files.

It gives the absolute path to the root of the module directory, i.e. where your
main binding.gyp file is located.

This seems helpful for some modules where the build system is more advanced and
using absolute paths is a requirement.
parent e10bd517
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment