From a5b61db5b8e2e6f906665e31d7ec8179175846ed Mon Sep 17 00:00:00 2001 From: Thierry Lelegard Date: Mon, 18 Oct 2021 09:30:06 +0200 Subject: [PATCH] [build] Fixed missing ws2_32 lib in Windows installer (#2169) The property file libsrt.props did not reference ws2_32.lib. For large applications which already reference the Windows socket library, there is no difference. In small test applications which reference libsrt only, there were undefined symbols. --- scripts/win-installer/libsrt.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/win-installer/libsrt.props b/scripts/win-installer/libsrt.props index 01e0b5dac..b1da74879 100644 --- a/scripts/win-installer/libsrt.props +++ b/scripts/win-installer/libsrt.props @@ -29,7 +29,7 @@ $(LIBSRT)\include;%(AdditionalIncludeDirectories) - srt.lib;libssl.lib;libcrypto.lib;crypt32.lib;%(AdditionalDependencies) + srt.lib;libssl.lib;libcrypto.lib;crypt32.lib;ws2_32.lib;%(AdditionalDependencies) $(LIBSRT)\lib\$(Configuration)-$(SrtPlatform);%(AdditionalLibraryDirectories) /ignore:4099 %(AdditionalOptions)