[Buildroot] [PATCH 2/2] fwup: fix static linking issues

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Aug 18 19:25:18 UTC 2016


Hello,

On Thu, 18 Aug 2016 23:54:38 +0530, Rahul Bedarkar wrote:
> In case of static linking, we need to link against dependencies of
> dependencies. When static libs are enabled, pkg-config seems to be
> outputting private libs implicitly without need of --static option.
> 
> Instead of manually adding libs for dependencies of libconfuse and
> libarchive, use pkg-config.
> 
> Fixes:
> 
>   http://autobuild.buildroot.net/results/69d/69d410e13a49b0ed34c501ba27d32df3269adb16/
> 
> Signed-off-by: Rahul Bedarkar <rahul.bedarkar at imgtec.com>

We already have some patches from Frank updating fwup:
especially https://patchwork.ozlabs.org/patch/657961/, which I believe
fixes the same issue, by using pkg-config: see commit
https://github.com/fhunleth/fwup/commit/d770b51ec097480db6d4ddeefd8e2ae21059b090
in fwup upstream.

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com



More information about the buildroot mailing list