engine: network: link to Winsock2 directly

This commit is contained in:
Alibek Omarov
2019-06-29 22:01:32 +03:00
parent bcb4c9a722
commit a378379ac5
3 changed files with 25 additions and 126 deletions

View File

@@ -67,7 +67,7 @@ def build(bld):
libs += [ 'DL' , 'M', 'PTHREAD' ]
source += bld.path.ant_glob(['platform/posix/*.c'])
else:
libs += ['USER32', 'SHELL32', 'GDI32', 'ADVAPI32', 'DBGHELP', 'PSAPI']
libs += ['USER32', 'SHELL32', 'GDI32', 'ADVAPI32', 'DBGHELP', 'PSAPI', 'WS2_32' ]
source += bld.path.ant_glob(['platform/win32/*.c'])
if bld.env.DEST_OS == 'linux':