mirror of
https://github.com/status-im/realm-js.git
synced 2025-01-11 14:54:33 +00:00
Get the path to nan relatively
Under npm3 the `realm` and `nan` modules might end up as siblings so the best way to get the path to `nan` is to require it from within the `realm` module. The `nan` module prints its path so it can be captured by an external build system like in this patch.
This commit is contained in:
parent
47c1c2d400
commit
6a6ed5a214
@ -34,7 +34,7 @@
|
|||||||
"../object-store/src/parser",
|
"../object-store/src/parser",
|
||||||
"../object-store/external/pegtl",
|
"../object-store/external/pegtl",
|
||||||
"../../core-node/include",
|
"../../core-node/include",
|
||||||
"../../node_modules/nan"
|
"<!(node -e 'require(\"nan\")')"
|
||||||
],
|
],
|
||||||
"library_dirs": [
|
"library_dirs": [
|
||||||
"$(srcdir)/../../core-node"
|
"$(srcdir)/../../core-node"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user