"Ronald S. Bultje" <[email protected]> writes:

> Hi,
>
> On Sat, Jul 7, 2012 at 3:57 PM, Derek Buitenhuis
> <[email protected]> wrote:
>> On 07/07/2012 6:09 PM, Diego Biurrun wrote:
>>> And this is required - why?
>>
>> Libm / math is not A Thing in MSVC and isn't required.
>>
>> It complains about -lm, but ignores it.
>>
>> I think this is mostly to shut up a warning.
>
> Correct. First, link.exe does not use -l<libname> to link in
> libraries, it uses lib<name>.lib (similar to how gcc allows you to
> specify the full filename of a lib<name>.a static library). Second,
> there is no math lib necessary at all.

This is the wrong fix for that problem.  The correct fix is to translate
-lfoo to the supported syntax.  This is required anyway, and once done
the original test will work exactly as intended.

-- 
Måns Rullgård
[email protected]
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to