Replace MinGW with Windows to avoid ambiguities
[tinc] / src / windows / meson.build
1 check_headers += 'w32api.h'
2
3 win_common_libs = ['ws2_32', 'iphlpapi', 'threads']
4
5 if opt_harden and cc_name != 'msvc'
6   win_common_libs += 'ssp'
7 endif
8
9 foreach libname : win_common_libs
10   dep = dependency(libname, required: false)
11   if not dep.found()
12     dep = cc.find_library(libname)
13   endif
14   deps_common += dep
15 endforeach
16
17 src_tincd += files('device.c')
18