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
Please register or sign in to comment