summaryrefslogtreecommitdiff
path: root/BUILDING.md
diff options
context:
space:
mode:
authorBartosz Sosnowski <bartosz@janeasystems.com>2018-05-16 13:59:48 +0200
committerRuben Bridgewater <ruben@bridgewater.de>2018-05-18 16:15:38 +0200
commit30ad0793ecfa4d4e88702b817453cc6ca188aef3 (patch)
treec057fa9d07f48cea50541f9907e08c8b31e1bf25 /BUILDING.md
parentd5a117c73f8f3aea38983f9875ff520f961402c1 (diff)
downloadandroid-node-v8-30ad0793ecfa4d4e88702b817453cc6ca188aef3.tar.gz
android-node-v8-30ad0793ecfa4d4e88702b817453cc6ca188aef3.tar.bz2
android-node-v8-30ad0793ecfa4d4e88702b817453cc6ca188aef3.zip
doc: describe using multiple link-module on win
Current description seems to suggest that only one linked-module can be provided. This modifies the example to show that multiple inked-modules can be used. PR-URL: https://github.com/nodejs/node/pull/20774 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'BUILDING.md')
-rw-r--r--BUILDING.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/BUILDING.md b/BUILDING.md
index 6e7f606d2c..3e05305074 100644
--- a/BUILDING.md
+++ b/BUILDING.md
@@ -423,8 +423,9 @@ $ ./configure --link-module '/root/myModule.js' --link-module './myModule2.js'
### Windows
-To make `./myCustomModule.js` available via `require('myCustomModule')`.
+To make `./myModule.js` available via `require('myModule')` and
+`./myModule2.js` available via `require('myModule2')`:
```console
-> .\vcbuild link-module './myCustomModule.js'
+> .\vcbuild link-module './myModule.js' link-module './myModule2.js'
```