mirror of
https://github.com/nodejs/node.git
synced 2025-04-28 05:25:19 +00:00
build: gyp exclude libm linking on macOS
PR-URL: https://github.com/nodejs/node/pull/56901 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
parent
756a24242e
commit
b7ce941f9a
7
deps/brotli/brotli.gyp
vendored
7
deps/brotli/brotli.gyp
vendored
@ -59,14 +59,15 @@
|
||||
'defines': [
|
||||
'OS_MACOSX'
|
||||
]
|
||||
}, {
|
||||
'libraries': [
|
||||
'-lm',
|
||||
],
|
||||
}],
|
||||
],
|
||||
'direct_dependent_settings': {
|
||||
'include_dirs': [ 'c/include' ]
|
||||
},
|
||||
'libraries': [
|
||||
'-lm',
|
||||
],
|
||||
'sources': [
|
||||
'<@(brotli_sources)',
|
||||
]
|
||||
|
6
deps/uv/uv.gyp
vendored
6
deps/uv/uv.gyp
vendored
@ -220,7 +220,6 @@
|
||||
'<@(uv_sources_posix)',
|
||||
],
|
||||
'link_settings': {
|
||||
'libraries': [ '-lm' ],
|
||||
'conditions': [
|
||||
['OS=="solaris"', {
|
||||
'ldflags': [ '-pthreads' ],
|
||||
@ -231,6 +230,11 @@
|
||||
['OS != "solaris" and OS != "android" and OS != "zos"', {
|
||||
'ldflags': [ '-pthread' ],
|
||||
}],
|
||||
['OS!="mac"', {
|
||||
'libraries': [
|
||||
'-lm'
|
||||
],
|
||||
}],
|
||||
],
|
||||
},
|
||||
'conditions': [
|
||||
|
Loading…
Reference in New Issue
Block a user