diff options
author | Jeroen Ooms <jeroenooms@gmail.com> | 2019-07-29 20:15:14 +0200 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2019-08-01 13:15:44 -0700 |
commit | ed138baff395ffc2ee8f41e99012866fdc27b4f4 (patch) | |
tree | f96c157133c7b911b41b346bae781682b13274d2 | |
parent | 980df1c85ff5167f5e313d19fb686b46db0b31db (diff) | |
download | android-node-v8-ed138baff395ffc2ee8f41e99012866fdc27b4f4.tar.gz android-node-v8-ed138baff395ffc2ee8f41e99012866fdc27b4f4.tar.bz2 android-node-v8-ed138baff395ffc2ee8f41e99012866fdc27b4f4.zip |
build: include stubs in shared library
This is needed for external applications that link to shared libnode.
Fixes #27431
PR-URL: https://github.com/nodejs/node/pull/28897
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Rich Trott <rtrott@gmail.com>
-rw-r--r-- | node.gyp | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -686,6 +686,12 @@ 'msvs_disabled_warnings!': [4244], 'conditions': [ + [ 'node_shared=="true"', { + 'sources': [ + 'src/node_snapshot_stub.cc', + 'src/node_code_cache_stub.cc', + ] + }], [ 'node_shared=="true" and node_module_version!="" and OS!="win"', { 'product_extension': '<(shlib_suffix)', 'xcode_settings': { |