This is needed to export functions by ordinal, which is required to maintain ABI compatibility with existing DLLs. When linking with MSVC, you pass /DEF <foo.def>, and with the binutils linker, it looks like you just pass it as another input file.
(This is supported under meson as vs_module_defs.)
This is needed to export functions by ordinal, which is required to maintain ABI compatibility with existing DLLs. When linking with MSVC, you pass
/DEF <foo.def>
, and with the binutils linker, it looks like you just pass it as another input file.(This is supported under meson as
vs_module_defs
.)