[Buildroot] [PATCH 1/1] package/meson: Fix linking of shared/static libs with static libs

Thomas Petazzoni thomas.petazzoni at bootlin.com
Mon May 20 18:45:17 UTC 2019


Hello Peter,

Thanks for your feedback!

On Mon, 20 May 2019 20:26:15 +0200
Peter Seiderer <ps.report at gmx.net> wrote:

> I can confirm the patch fixes the gstreamer static build/static libs
> problem (see [1])....
> 
> But as it is a (not yet) upstream committed bugfix, maybe it is better to
> wait for a upstream committ and/or next meson version bump?

That would of course be the best approach...

> On the other side the gstreamer folks where bored with waiting for the
> meson fix to be accepted and committed an workaround for the problem
> already (see [2])...
> 
> Conclusion: Take the patch in case there is already a buildroot
> in-tree package which needs the fix (or commit the patch with
> in series with a in-tree user), otherwise wait for meson
> upstream...

... however, if it starts holding off bumping too many packages, I
guess we'll have to take this patch. Having to add a !BR2_STATIC_LIBS
dependency to libglib2 would be really horrible, considering the number
of reverse dependencies that libglib2 has.

At least, if the problem is acknowledged upstream, we know it will be
fixed at some point. Perhaps not with the exact patch we will have, but
at least it will be fixed, which means we won't have to carry this
patch forever.

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


More information about the buildroot mailing list