Skip to content

Commit

Permalink
[build] Fixed missing ws2_32 lib in Windows installer (#2169)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
lelegard committed Oct 18, 2021
1 parent 6e89639 commit a5b61db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/win-installer/libsrt.props
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<AdditionalIncludeDirectories>$(LIBSRT)\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<AdditionalDependencies>srt.lib;libssl.lib;libcrypto.lib;crypt32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalDependencies>srt.lib;libssl.lib;libcrypto.lib;crypt32.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>$(LIBSRT)\lib\$(Configuration)-$(SrtPlatform);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalOptions>/ignore:4099 %(AdditionalOptions)</AdditionalOptions>
</Link>
Expand Down

0 comments on commit a5b61db

Please sign in to comment.