diff options
author | chexiongsheng <chexiongsheng@qq.com> | 2022-09-21 13:02:40 +0300 |
---|---|---|
committer | RafaelGSS <rafael.nunu@hotmail.com> | 2022-09-27 01:07:46 +0300 |
commit | a6091f549666e29909f13ed794e98c1c5ed5a851 (patch) | |
tree | e0fa59a8a806d2018c312e5527f986a132234725 /node.gypi | |
parent | 4dbe4a010c76ac72d0067a2253a61806bab55733 (diff) |
gyp: libnode for ios app embedding
PR-URL: https://github.com/nodejs/node/pull/44210
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Diffstat (limited to 'node.gypi')
-rw-r--r-- | node.gypi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/node.gypi b/node.gypi index d24928df8b2..e469716b0c1 100644 --- a/node.gypi +++ b/node.gypi @@ -145,7 +145,7 @@ }, }, 'conditions': [ - ['OS!="aix" and node_shared=="false"', { + ['OS!="aix" and OS!="ios" and node_shared=="false"', { 'ldflags': [ '-Wl,--whole-archive', '<(obj_dir)/deps/zlib/<(STATIC_LIB_PREFIX)zlib<(STATIC_LIB_SUFFIX)', @@ -184,7 +184,7 @@ }, }, 'conditions': [ - ['OS!="aix" and node_shared=="false"', { + ['OS!="aix" and OS!="ios" and node_shared=="false"', { 'ldflags': [ '-Wl,--whole-archive', '<(obj_dir)/deps/uv/<(STATIC_LIB_PREFIX)uv<(STATIC_LIB_SUFFIX)', |