gyp: libnode for ios app embedding · nodejs/node@bbccebf · GitHub
Skip to content

Commit bbccebf

Browse files
chexiongshengRafaelGSS
authored andcommitted
gyp: libnode for ios app embedding
PR-URL: #44210 Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
1 parent faa40c3 commit bbccebf

5 files changed

Lines changed: 17 additions & 9 deletions

File tree

configure.py

Lines changed: 2 additions & 2 deletions

deps/cares/cares.gyp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@
157157
'include_dirs': [ 'config/linux' ],
158158
'sources': [ 'config/linux/ares_config.h' ]
159159
}],
160-
[ 'OS=="mac"', {
160+
[ 'OS=="mac" or OS=="ios"', {
161161
'include_dirs': [ 'config/darwin' ],
162162
'sources': [ 'config/darwin/ares_config.h' ]
163163
}],

node.gyp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@
228228
},
229229
},
230230
'conditions': [
231-
['OS != "aix" and OS != "mac"', {
231+
['OS != "aix" and OS != "mac" and OS != "ios"', {
232232
'ldflags': [
233233
'-Wl,--whole-archive',
234234
'<(obj_dir)/<(STATIC_LIB_PREFIX)<(node_core_target_name)<(STATIC_LIB_SUFFIX)',

node.gypi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145
},
146146
},
147147
'conditions': [
148-
['OS!="aix" and node_shared=="false"', {
148+
['OS!="aix" and OS!="ios" and node_shared=="false"', {
149149
'ldflags': [
150150
'-Wl,--whole-archive',
151151
'<(obj_dir)/deps/zlib/<(STATIC_LIB_PREFIX)zlib<(STATIC_LIB_SUFFIX)',
@@ -184,7 +184,7 @@
184184
},
185185
},
186186
'conditions': [
187-
['OS!="aix" and node_shared=="false"', {
187+
['OS!="aix" and OS!="ios" and node_shared=="false"', {
188188
'ldflags': [
189189
'-Wl,--whole-archive',
190190
'<(obj_dir)/deps/uv/<(STATIC_LIB_PREFIX)uv<(STATIC_LIB_SUFFIX)',

tools/v8_gypfiles/v8.gyp

Lines changed: 11 additions & 3 deletions

0 commit comments

Comments
 (0)