> > Err, no .. Please guys stop with the "-static*" when making shared > things. Just don't do it ever. If doing this causes a DLL to not crash > that does otherwise, then you're masking the real problem, not fixing > it, and also passing the bug onto anyone who uses your DLL from > something that's correctly not using "-static*" when linking.
You are taking it too seriously. During development phases one of course should *not* use this option in order to spot bugs/crashes. One should *not* use it when releasing a package for MSYS2 as well to follow Unix philosophy of dynamic linking preference between dependencies, easy upgrading, easy debugging, etc. However, this option is there for certain reasons. For instance, one wants to release a standalone package and hide one's toolchain dependencies from end users (some software markets have this as a mandatory requirement by the way), then this would be the only correct way to do so. I mean no need for extreme jumps into rules like "don't do it ever" or "do it always" as everything has its own good purpose when used reasonably.
------------------------------------------------------------------------------
_______________________________________________ Msys2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/msys2-users
