Skip to content

Abort when libuv at runtime mismatches libuv at compile time [v9.18]

Ondřej Surý requested to merge ondrej-enforce-minimal-libuv-version-v9_18 into v9_18

When we compile with libuv that has some capabilities via flags passed to f.e. uv_udp_listen() or uv_udp_bind(), the call with such flags would fail with invalid arguments when older libuv version is linked at the runtime that doesn't understand the flag that was available at the compile time.

Enforce minimal libuv version when flags have been available at the compile time, but are not available at the runtime. This check is less strict than enforcing the runtime libuv version to be same or higher than compile time libuv version.

Split from !6171 (merged)

Edited by Ondřej Surý

Merge request reports