Skip to content

Commit d425d8b

Browse files
JanisErdmanismtrojnar
authored andcommitted
fix capitalization ws2_32.lib
Windows and MacOS are both case-insensitive, and hence the issue of wrong capitalisation may not have surfaced. I am forming a recipe for cross-compilation for the Julia BinarBuilder environment, which uses Linux x86_64 as the host system. However, as it uses a sensitive filesystem, I hit a linking error that could only be fixed by changing the capitalization of `Ws2_32.lib` to lowercase. More on that can be found in the pull request: JuliaPackaging/Yggdrasil#10950
1 parent 4568c89 commit d425d8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ target_link_libraries(osslsigncode PRIVATE ${ZLIB_LIBRARIES})
9292

9393
if(NOT UNIX)
9494
# https://learn.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock2-shutdown
95-
target_link_libraries(osslsigncode PRIVATE Ws2_32.lib crypt32.lib)
95+
target_link_libraries(osslsigncode PRIVATE ws2_32.lib crypt32.lib)
9696
endif(NOT UNIX)
9797

9898
# add paths to linker search and installed rpath

0 commit comments

Comments
 (0)