Skip to content

Commit

Permalink
doc: describe using multiple link-module on win
Browse files Browse the repository at this point in the history
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: #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>
  • Loading branch information
bzoz authored and BridgeAR committed May 18, 2018
1 parent d5a117c commit 30ad079
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
```

0 comments on commit 30ad079

Please sign in to comment.