mirror of
https://github.com/mtrojnar/osslsigncode.git
synced 2025-04-19 06:08:05 -05:00
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: https://github.com/JuliaPackaging/Yggdrasil/pull/10950
This commit is contained in:
parent
4568c890cc
commit
d425d8bf25
@ -92,7 +92,7 @@ target_link_libraries(osslsigncode PRIVATE ${ZLIB_LIBRARIES})
|
|||||||
|
|
||||||
if(NOT UNIX)
|
if(NOT UNIX)
|
||||||
# https://learn.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock2-shutdown
|
# https://learn.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock2-shutdown
|
||||||
target_link_libraries(osslsigncode PRIVATE Ws2_32.lib crypt32.lib)
|
target_link_libraries(osslsigncode PRIVATE ws2_32.lib crypt32.lib)
|
||||||
endif(NOT UNIX)
|
endif(NOT UNIX)
|
||||||
|
|
||||||
# add paths to linker search and installed rpath
|
# add paths to linker search and installed rpath
|
||||||
|
Loading…
x
Reference in New Issue
Block a user