GNU ld does accept this option when targeting PE-COFF, even though PE images clearly don't support leaving undefined symbols in a linked image.
Meson has earlier had issues where it tried to unconditionally pass this option when targeting a unix style linker (including the mingw target, which uses unix style options); currently meson tries to detect whether the option is supported and pass it.
For compatibility with GNU ld, just ignore this option, as there may be other projects out there that also blindly pass this option to the linker, even though it makes no sense for a windows target.