[FFmpeg-devel] [PATCH] configure: add libm ldflags globally

Jörn Heusipp osmanx at problemloesungsmaschine.de
Tue Oct 17 11:01:43 EEST 2017


On 10/17/2017 03:04 AM, Carl Eugen Hoyos wrote:
> 2017-10-16 23:02 GMT+02:00 James Almer <jamrial at gmail.com>:
>> and by hardcoding a -lstdc++ ldflag in configure checks we're
>> apparently breaking detection on systems where the compiler
>> uses libc++, like it seems to be the case with Clang on MacOS.
> 
> Did you test this?
> I ask because I was never able to reproduce (it
> was claimed here before).

My FreeBSD (10.3, rather minimal install) system does not have any 
libstdc++. "-lstdc++" thus simply fails to link and clearly is the wrong 
thing to do.

I cannot test on macOS.

Regards,
Jörn (libopenmpt maintainer)


More information about the ffmpeg-devel mailing list