File: more-shared-libs.patch

package info (click to toggle)
nodejs 20.19.5%2Bdfsg%2B~cs20.19.24-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 216,800 kB
  • sloc: cpp: 1,232,365; javascript: 567,180; ansic: 118,421; python: 58,546; sh: 3,870; makefile: 2,744; asm: 1,732; perl: 248; lisp: 222; xml: 42
file content (79 lines) | stat: -rw-r--r-- 2,267 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
Description: cherry-pick upstream fix to allow more shared libs
 Because branch 20.x had still hard deps on deps/xxx
 This has been fixed in >= 22 branches.
Last-Update: 2025-11-04
Forwarded: no
Author: Jérémy Lal <kapouer@melix.org>
--- a/node.gyp
+++ b/node.gyp
@@ -830,8 +830,6 @@
         'deps/googletest/googletest.gyp:gtest_prod',
         'deps/histogram/histogram.gyp:histogram',
         'deps/uvwasi/uvwasi.gyp:uvwasi',
-        'deps/simdutf/simdutf.gyp:simdutf',
-        'deps/ada/ada.gyp:ada',
         'node_js2c#host',
       ],
 
@@ -1101,7 +1099,6 @@
         'deps/googletest/googletest.gyp:gtest_prod',
         'deps/histogram/histogram.gyp:histogram',
         'deps/uvwasi/uvwasi.gyp:uvwasi',
-        'deps/ada/ada.gyp:ada',
       ],
       'includes': [
         'node.gypi'
@@ -1148,8 +1145,6 @@
         'deps/googletest/googletest.gyp:gtest_main',
         'deps/histogram/histogram.gyp:histogram',
         'deps/uvwasi/uvwasi.gyp:uvwasi',
-        'deps/simdutf/simdutf.gyp:simdutf',
-        'deps/ada/ada.gyp:ada',
       ],
 
       'includes': [
@@ -1223,7 +1218,6 @@
       'dependencies': [
         '<(node_lib_target_name)',
         'deps/histogram/histogram.gyp:histogram',
-        'deps/ada/ada.gyp:ada',
       ],
 
       'includes': [
@@ -1298,7 +1292,6 @@
       'type': 'executable',
       'toolsets': ['host'],
       'dependencies': [
-        'deps/simdutf/simdutf.gyp:simdutf#host',
       ],
       'include_dirs': [
         'tools',
@@ -1336,7 +1329,6 @@
       'dependencies': [
         '<(node_lib_target_name)',
         'deps/histogram/histogram.gyp:histogram',
-        'deps/ada/ada.gyp:ada',
       ],
 
       'includes': [
--- a/node.gypi
+++ b/node.gypi
@@ -216,6 +216,18 @@
       'dependencies': [ 'deps/nghttp2/nghttp2.gyp:nghttp2' ],
     }],
 
+    [ 'node_shared_ada=="false"', {
+        'dependencies': [ 'deps/ada/ada.gyp:ada' ],
+    }],
+
+    [ 'node_shared_simdjson=="false"', {
+        'dependencies': [ 'deps/simdjson/simdjson.gyp:simdjson' ],
+    }],
+
+    [ 'node_shared_simdutf=="false"', {
+        'dependencies': [ 'deps/simdutf/simdutf.gyp:simdutf' ],
+    }],
+
     [ 'node_shared_brotli=="false"', {
       'dependencies': [ 'deps/brotli/brotli.gyp:brotli' ],
     }],