From b49632aacfa1e8529dce188dcce793571092c54d Mon Sep 17 00:00:00 2001 From: Rob Swindell <rob@synchro.net> Date: Sun, 13 Dec 2020 14:41:57 -0800 Subject: [PATCH] Just have all xpdev apps link with winsock import library Gave up on trying to isolate socket-enabled (networked) and non-socket apps. Just link everything that uses xpdev (which is everything, I think) with the WinSock import library. Fixes the current master branch build issue on Windows. I'll get around to removing the old NO_SOCKET_SUPPORT macro eventually. --- src/xpdev/xpdev.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xpdev/xpdev.props b/src/xpdev/xpdev.props index 5966335cc7..fc6a51f6e9 100644 --- a/src/xpdev/xpdev.props +++ b/src/xpdev/xpdev.props @@ -11,7 +11,7 @@ <AdditionalIncludeDirectories>$(MSBuildThisFileDirectory);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> </ClCompile> <Link> - <AdditionalDependencies>netapi32.lib;%(AdditionalDependencies)</AdditionalDependencies> + <AdditionalDependencies>netapi32.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies> </Link> </ItemDefinitionGroup> <ItemGroup /> -- GitLab