Commit 410b8711 authored by Max Kellermann's avatar Max Kellermann

lib/curl/meson.build: add -DCURL_STATICLIB on Windows

Necessary since commit 6acf81d5
parent 6acf81d5
......@@ -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',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment