[Ffmpeg-devel] [PATCH] ffmpeg doesn't compile on Mac OS X anymore...

Alexander Strange astrange
Wed Oct 19 02:38:03 CEST 2005

On Oct 18, 2005, at 7:31 PM, Derk-Jan Hartman wrote:
> configure sets extralibs in the darwin section to "". This results  
> in the -lm flag not being included for darwin. Though it works with  
> this patch, i do believe the -lm flag is required in Darwin (if I  
> remember correctly, some other common loaded component has the  
> symbols as well, but you cannot rely on this).

-lm is always enabled, because it's part of the main library  
(libSystem). The single-precision variants are in another library, - 
lmx, though. There doesn't seem to be a good reason for this, unless  
libSystem doesn't have any other changes in exported symbols ever.

More information about the ffmpeg-devel mailing list