On Sun, 26 Jul 2015, Jean-Baptiste Kempf wrote:

On 26 Jul, Martin Storsjö wrote :
The static CRT (libcmt.lib, as used by default or with -MT) doesn't
work when targeting these API subsets.

Only do this if no cflags for CRT selection have been specified,
to allow users to override this default if the user knows better.

Isn't that dangerous, licenses-wise?

I'm not sure, can you clarify which way you mean?

In the cases where this is supposed to happen at all, you can't successfully link a binary at all unless you add -MD. (For winphone SDKs, there's either no libcmt.lib at all, or you can't really link anything with it.)

I could change this so that it only is added if -M[TD]* is missing, and if linking actually fails. For WinRT, linking would probably succeed (although you can't really ship code built that way) with -MT though, so you'd manually need to enforce -MD anyway - I think?

// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to