File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
llvm/utils/gn/secondary/llvm Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -190,7 +190,10 @@ static_library("Support") {
190
190
if (current_os == " linux" || current_os == " android" ) {
191
191
libs += [ " dl" ]
192
192
} else if (current_os == " win" ) {
193
- libs = [ " ws2_32.lib" ]
193
+ libs = [
194
+ " ntdll.lib" ,
195
+ " ws2_32.lib" ,
196
+ ]
194
197
195
198
# Delay load shell32.dll if possible to speed up process startup.
196
199
libs += [ " delayimp.lib" ]
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ write_cmake_config("BuildVariables.inc") {
46
46
if (host_os == " win" ) {
47
47
# uuid.lib for FOLDERID_Profile in lib/Support/Windows/Path.inc.
48
48
# 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 "
50
50
} else {
51
51
system_libs += " -lm"
52
52
if (host_os == " linux" ) {
You can’t perform that action at this time.
0 commit comments