diff options
author | Antonio Rojas | 2020-04-13 11:08:36 +0000 |
---|---|---|
committer | Antonio Rojas | 2020-04-13 11:08:36 +0000 |
commit | b2e2e1d75c23f488f4683912196391102306749b (patch) | |
tree | 100ba7a825baad5b11c864a96c54c24049e14e3d /use-system-libraries-in-node.patch | |
download | aur-b2e2e1d75c23f488f4683912196391102306749b.tar.gz |
Dropped from repos
Diffstat (limited to 'use-system-libraries-in-node.patch')
-rw-r--r-- | use-system-libraries-in-node.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/use-system-libraries-in-node.patch b/use-system-libraries-in-node.patch new file mode 100644 index 000000000000..8aed2d364d25 --- /dev/null +++ b/use-system-libraries-in-node.patch @@ -0,0 +1,31 @@ +--- a/common.gypi ++++ b/common.gypi +@@ -24,12 +24,12 @@ + 'node_install_npm': 'false', + 'node_prefix': '', + 'node_shared': 'true', +- 'node_shared_cares': 'false', +- 'node_shared_http_parser': 'false', ++ 'node_shared_cares': 'true', ++ 'node_shared_http_parser': 'true', + 'node_shared_libuv': 'false', + 'node_shared_openssl': 'false', + 'node_shared_v8': 'true', +- 'node_shared_zlib': 'false', ++ 'node_shared_zlib': 'true', + 'node_tag': '', + 'node_use_dtrace': 'false', + 'node_use_etw': 'false', +@@ -174,6 +174,12 @@ + ], + }], + ['OS=="linux" and libchromiumcontent_component==0', { ++ 'libraries': [ ++ '-lcares', ++ '-lcrypto', ++ '-lhttp_parser', ++ '-lz', ++ ], + # Prevent the linker from stripping symbols. + 'ldflags': [ + '-Wl,--whole-archive', |