diff options
author | Daniel Bevenius <daniel.bevenius@gmail.com> | 2017-08-17 13:48:01 +0300 |
---|---|---|
committer | Myles Borins <mylesborins@google.com> | 2017-09-12 04:17:12 +0300 |
commit | c8be90cabfee2461fe489e575143810a9be5300b (patch) | |
tree | 83b080dd22bf971733cb3b1fb91f5a74562b2399 /configure | |
parent | 77dfa73cf2f50c9b437f3a3c334d5ba66285a57a (diff) |
build: for --enable-static, run only cctest
Currently when building with --enable-static and running the test target
the following error will be reported:
Building addon
/node/test/addons/01_function_arguments/
env: ./node: No such file or directory
make[1]: *** [test/addons/.buildstamp] Error 1
Note that this is with a clean build where no prior node executable was
built.
This commit suggests only running the cctest target when --enable-static
is specified.
PR-URL: https://github.com/nodejs/node/pull/14892
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Lance Ball <lball@redhat.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure index 994701502ae..64273164bb5 100755 --- a/configure +++ b/configure @@ -1419,6 +1419,8 @@ config = { 'BUILDTYPE': 'Debug' if options.debug else 'Release', 'USE_XCODE': str(int(options.use_xcode or 0)), 'PYTHON': sys.executable, + 'NODE_TARGET_TYPE': variables['node_target_type'] if options.enable_static \ + else '', } if options.prefix: |