On Sat, 23 Oct 2021, Martin Storsjö wrote:

> On Fri, 22 Oct 2021, Jeremy Drake wrote:
> > Comparing libquery.a to libntquery.a shows the latter is missing the
> > stdcall decorations.  Perhaps the #include trick didn't go so well, and
> > it'd be better to just copy the def file (at least for lib32)?
>
> Hmm, yes, it seems so... When making lib32/libntquery.a, it involves two
> implicit pattern rules (.def.in to .def, then .def to .a) - I would expect
> make to choose among them according to which pattern is declared first (which
> should prefer the one from lib32 over the one from lib-common). But iirc make
> might use a rule to pick according to which pattern match is the most
> specific, and for that, it's a tie.
>
> So yeah, duplicating that one into ntquery.def seems to fix it. I wonder if
> it'd be good to do the same for lib-common too, for consistency?

I'll do that.  I was trying to avoid duplication, but it's only a few
exports, not worth more complicated efforts to avoid it.
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to