File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,10 +45,7 @@ deps = [
4545]
4646if is_windows
4747 deps += [
48- ws2_32_dep,
49- wsock32_dep,
50- iphlpapi_dep,
51- bcrypt_dep,
48+ kernel32_dep
5249 ]
5350else
5451 deps += [
Original file line number Diff line number Diff line change @@ -130,11 +130,7 @@ conf.set('RUNDIR', '"@0@"'.format(rundir))
130130
131131if is_windows
132132 # Find Windows system libraries
133- ws2_32_dep = cc.find_library (' ws2_32' , required : true )
134- wsock32_dep = cc.find_library (' wsock32' , required : true )
135133 kernel32_dep = cc.find_library (' kernel32' , required : true )
136- iphlpapi_dep = cc.find_library (' iphlpapi' , required : true )
137- bcrypt_dep = cc.find_library (' bcrypt' , required : true )
138134endif
139135
140136# Check for libjson-c availability
@@ -514,10 +510,7 @@ if want_nvme
514510
515511 if is_windows
516512 link_deps += [
517- ws2_32_dep,
518- wsock32_dep,
519513 kernel32_dep,
520- iphlpapi_dep
521514 ]
522515 else
523516 link_args_list = [' -ldl' ]
@@ -641,11 +634,7 @@ dep_dict = {
641634}
642635if is_windows
643636 dep_dict += {
644- ' ws2_32' : ws2_32_dep.found(),
645- ' wsock32' : wsock32_dep.found(),
646637 ' kernel32' : kernel32_dep.found(),
647- ' iphlpapi' : iphlpapi_dep.found(),
648- ' bcrypt' : bcrypt_dep.found(),
649638 }
650639endif
651640summary (dep_dict, section : ' Dependencies' , bool_yn : true )
You can’t perform that action at this time.
0 commit comments