From: Nico Weber Date: Wed, 19 Jan 2022 16:06:01 +0000 (-0500) Subject: [gn build] link lldb-vscode against ws2_32.lib X-Git-Tag: upstream/15.0.7~19913 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7260a926cfd8610725c200df19c5dc4c829f2a79;p=platform%2Fupstream%2Fllvm.git [gn build] link lldb-vscode against ws2_32.lib Necessary after aaa50e54e60fd6c4. --- diff --git a/llvm/utils/gn/secondary/lldb/tools/lldb-vscode/BUILD.gn b/llvm/utils/gn/secondary/lldb/tools/lldb-vscode/BUILD.gn index a4211f8..f6a2267 100644 --- a/llvm/utils/gn/secondary/lldb/tools/lldb-vscode/BUILD.gn +++ b/llvm/utils/gn/secondary/lldb/tools/lldb-vscode/BUILD.gn @@ -29,6 +29,9 @@ executable("lldb-vscode") { ldflags = [ "-Wl,-sectcreate,__TEXT,__info_plist," + rebase_path(plist[0], root_out_dir) ] } + if (current_os == "win") { + libs = [ "ws2_32.lib" ] + } # FIXME: link in //lldb/source/Host on Win (and netbsd) # FIXME: link in pthread