forked from nodejs/node-gyp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
configure: supply
target_arch
define to gyp.js
Since version 1.1.1 gyp.js uses environment files. Set --target_arch command-line option with value of node-gyp --arch option in order to generate proper ninja environment file. Removed findMSVS() function and `vcvars.bat` invocation before building with `ninja` because `gyp.js` supports target environments and the actual `target_arch` is set before on `configure` stage.
- Loading branch information
Showing
1 changed file
with
2 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters