node-gyp
node-gyp copied to clipboard
How to configure link directories
Hey guys
Last week I started with a tutorial on napi for creating native addons for nodejs. And today I wanted to start wrapping up a c++ library of mine. I know how to configure the binding.gyp for local source files. But now I would like to link my static library and use that instead. So I already learned from an article how I can do so with absolute paths. But is there a way to configure link directories like you do with include dirs? I tried the following without success.
"link_dirs": [
"/path/to/my/link/directorie",
]
I tried looking up something similar in the issue tracker here as well on Google but could not find anything. Any help would be greatly appreciated!
With kind regards, TheBoneJarmer