build: remove explicit linker call to libm on macOS by deepak1556 · Pull Request #56901 · nodejs/node · GitHub
Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions deps/brotli/brotli.gyp
2 changes: 1 addition & 1 deletion deps/brotli/unofficial.gni
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ template("brotli_gn_build") {
} else if (target_os == "freebsd") {
defines = [ "OS_FREEBSD" ]
}
if (!is_win) {
if (is_linux) {
libs = [ "m" ]
}
if (is_clang || !is_win) {
Expand Down
2 changes: 1 addition & 1 deletion deps/uv/unofficial.gni
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,11 @@ template("uv_gn_build") {
]
}
if (is_posix) {
libs = [ "m" ]
ldflags = [ "-pthread" ]
}
if (is_linux) {
libs += [
"m",
Comment thread
deepak1556 marked this conversation as resolved.
"dl",
"rt",
]
Expand Down
6 changes: 5 additions & 1 deletion deps/uv/uv.gyp