diff --git a/deps/brotli/unofficial.gni b/deps/brotli/unofficial.gni index 5e07e106672..91001fa43ea 100644 --- a/deps/brotli/unofficial.gni +++ b/deps/brotli/unofficial.gni @@ -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) { diff --git a/deps/uv/unofficial.gni b/deps/uv/unofficial.gni index 348d2f0703e..864414475fa 100644 --- a/deps/uv/unofficial.gni +++ b/deps/uv/unofficial.gni @@ -87,11 +87,11 @@ template("uv_gn_build") { ] } if (is_posix) { - libs = [ "m" ] ldflags = [ "-pthread" ] } if (is_linux) { libs += [ + "m", "dl", "rt", ]