The DEF files ease use of the mingw created DLLs by VC++ compilers by allowing one to create a VC++ compatible import lib for the DLL via lib /def:some.def.
Hijack the appropriate envar (LDFLAGS?) to pass an appropriate -Wl,--output-def,${libname}.def during build.
The DEF files ease use of the mingw created DLLs by VC++ compilers by allowing one to create a VC++ compatible import lib for the DLL via
lib /def:some.def.Hijack the appropriate envar (
LDFLAGS?) to pass an appropriate-Wl,--output-def,${libname}.defduring build.