mirror of
https://github.com/nodejs/node.git
synced 2025-05-05 15:32:15 +00:00

Add configure flag for building a shared library that can be embedded in other applications (like Electron). Add flags --without-bundled-v8 and --without-v8-platform to control V8 dependencies used. PR-URL: https://github.com/nodejs/node/pull/6994 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Fedor Indutny <fedor@indutny.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
11 lines
350 B
JavaScript
11 lines
350 B
JavaScript
'use strict';
|
|
require('../common');
|
|
var assert = require('assert');
|
|
|
|
// check for existence
|
|
assert(process.config.variables.hasOwnProperty('node_module_version'));
|
|
|
|
// ensure that `node_module_version` is an Integer > 0
|
|
assert(Number.isInteger(process.config.variables.node_module_version));
|
|
assert(process.config.variables.node_module_version > 0);
|