diff --git a/src/lib/curl/meson.build b/src/lib/curl/meson.build index 08afd659baae139db01bd493a0865340dc4ac45c..3433997e0cebf8247fd9f4efe3545dffc5f96e09 100644 --- a/src/lib/curl/meson.build +++ b/src/lib/curl/meson.build @@ -4,6 +4,13 @@ if not curl_dep.found() subdir_done() endif +if is_windows + # Our Windows build generates a static libcurl build, but libcurl's + # CMakeLists.txt omits the -DCURL_STATICLIB compiler option + curl_dep = declare_dependency(compile_args: '-DCURL_STATICLIB', + dependencies: curl_dep) +endif + curl = static_library( 'curl', 'Delegate.cxx',