Skip to content

Commit

Permalink
Disable libSSH2 and zlib in curl subproject
Browse files Browse the repository at this point in the history
Newer GHA runners include these, but as they'd be dynamically linked
they prevent the dll from loading on other machines.
  • Loading branch information
arch1t3cht committed Dec 3, 2022
1 parent b8897ea commit 2618e45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ else
curl_options = cmake.subproject_options()

if host_machine.system() == 'windows'
curl_options.add_cmake_defines({'CURL_TARGET_WINDOWS_VERSION': '0x601', 'CMAKE_USE_SCHANNEL': true})
curl_options.add_cmake_defines({'CURL_TARGET_WINDOWS_VERSION': '0x601', 'CMAKE_USE_SCHANNEL': true, 'CMAKE_USE_LIBSSH2': false, 'CURL_ZLIB': false})
elif host_machine.system() == 'darwin'
curl_options.add_cmake_defines({'CMAKE_USE_SECTRANSP': true})
endif
Expand Down

0 comments on commit 2618e45

Please sign in to comment.