diff --git a/pyproject.toml b/pyproject.toml index 299b19cf4..f0802b530 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -183,6 +183,7 @@ repair-wheel-command = """\ # see https://github.com/zeromq/pyzmq/issues/2012 # and https://github.com/matplotlib/matplotlib/pull/28687 "cmake.define.CMAKE_MSVC_RUNTIME_LIBRARY" = "MultiThreaded" +"cmake.define.CMAKE_SHARED_LINKER_FLAGS_INIT" = "ucrt.lib;vcruntime.lib;/nodefaultlib:libucrt.lib;/nodefaultlib:libvcruntime.lib" [tool.cibuildwheel.windows.environment] ZMQ_PREFIX = "bundled"