Skip to content

Commit 196808b

Browse files
committed
[docs] building Node in nw19
1 parent 1745832 commit 196808b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/For Developers/Building NW.js.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,12 @@ See the upstream documentation for the mapping between GN and GYP flags: https:/
8787

8888
```bash
8989
cd src
90-
GYP_CHROMIUM_NO_ACTION=0 ./build/gyp_chromium third_party/node/node.gyp
90+
GYP_CHROMIUM_NO_ACTION=0 ./build/gyp_chromium -I third_party/node/common.gypi third_party/node/node.gyp
9191
```
9292

9393
or use the following if you're doing a component build:
9494
```bash
95-
./build/gyp_chromium -D component=shared_library third_party/node/node.gyp
95+
./build/gyp_chromium -D component=shared_library -I third_party/node/common.gypi third_party/node/node.gyp
9696
```
9797
To change the build configuration for Node, you need to setup the GYP_DEFINES environment variable:
9898

0 commit comments

Comments
 (0)