From 30ad0793ecfa4d4e88702b817453cc6ca188aef3 Mon Sep 17 00:00:00 2001 From: Bartosz Sosnowski Date: Wed, 16 May 2018 13:59:48 +0200 Subject: 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 Reviewed-By: Vse Mozhet Byt Reviewed-By: Trivikram Kamat Reviewed-By: James M Snell Reviewed-By: Ruben Bridgewater --- BUILDING.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'BUILDING.md') diff --git a/BUILDING.md b/BUILDING.md index 6e7f606d2cb..3e053050743 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' ``` -- cgit v1.2.3