[Buildroot] [PATCH 2/3] package/runc: fix shared only build when libseccomp is enabled.

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Jul 24 14:45:09 UTC 2016


Hello,

On Thu,  7 Jul 2016 20:39:36 +0200, Romain Naour wrote:
> When BR2_PACKAGE_LIBSECCOMP is set, the go build system will try to
> find static library libseccomp.a since "static_build" and
> "extldflags '-static'" are used.
> 
> Link runc statically only for static only build and prefer dynamic
> linking otherwise.
> 
> Signed-off-by: Romain Naour <romain.naour at gmail.com>
> Cc: Christian Stewart <christian at paral.in>

I have just sent a patch series that passes -static only when
BR2_STATIC_LIBS=y:

http://patchwork.ozlabs.org/patch/652100/
http://patchwork.ozlabs.org/patch/652101/
http://patchwork.ozlabs.org/patch/652102/

So I've marked this patch as superseded.

Thanks,

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


More information about the buildroot mailing list