File tree Expand file tree Collapse file tree
llvm/utils/gn/secondary/llvm Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -190,7 +190,10 @@ static_library("Support") {
190190 if (current_os == " linux" || current_os == " android" ) {
191191 libs += [ " dl" ]
192192 } else if (current_os == " win" ) {
193- libs = [ " ws2_32.lib" ]
193+ libs = [
194+ " ntdll.lib" ,
195+ " ws2_32.lib" ,
196+ ]
194197
195198 # Delay load shell32.dll if possible to speed up process startup.
196199 libs += [ " delayimp.lib" ]
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ write_cmake_config("BuildVariables.inc") {
4646 if (host_os == " win" ) {
4747 # uuid.lib for FOLDERID_Profile in lib/Support/Windows/Path.inc.
4848 # advapi32.lib for CryptAcquireContextW in lib/Support/Windows/Path.inc.
49- system_libs = " psapi.lib shell32.lib ole32.lib uuid.lib advapi32.lib ws2_32.lib"
49+ system_libs = " psapi.lib shell32.lib ole32.lib uuid.lib advapi32.lib ws2_32.lib ntdll.lib "
5050 } else {
5151 system_libs += " -lm"
5252 if (host_os == " linux" ) {
You can’t perform that action at this time.
0 commit comments