[Buildroot] [PATCH v2, 1/1] package/ffmpeg: add -latomic to pkg-config files

Thomas Petazzoni thomas.petazzoni at bootlin.com
Mon Aug 9 07:31:24 UTC 2021


On Sun, 8 Aug 2021 23:30:28 +0200
Fabrice Fontaine <fontaine.fabrice at gmail.com> wrote:

> > Applied to master, thanks. Why do you consider the patch not acceptable
> > upstream?  
> Because I think it only makes sense because we're passing -latomic to
> extralibs but I can try to get their feedback.

I think it does. If you pass extra libraries to link against, then the
.so files are linked against them. In a dynamic linking environment,
that's sufficient. But in a static linking environment, that requires
your .pc file having a Libs.private pointing to those extra libraries.

So I think there's an argument in favor of this, but only if those
extra libraries are added to Libs.private in the .pc file, not Libs.

Best regards,

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list