[Buildroot] [PATCH v2] swig: add symlink to /usr/bin/swig2.0

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Sep 22 17:29:25 UTC 2014


Dear Jérémy Rosen,

On Mon, 22 Sep 2014 13:31:08 +0200, Jérémy Rosen wrote:
> the cmake detection script provided with cmake will first look for a
> binary called swig2.0 then for a binary called swig
> 
> swig-host only installs a binary called swig and gets overridden by the
> version installed by the host distro. This symlink prevents that from
> happening
> 
> 
> Signed-off-by: Jérémy Rosen <jeremy.rosen at openwide.fr>

Ok, I've applied the patch now. However, I did some significant
improvements to the commit log, and also added a big comment in the
code to explain why we do this.

Thanks!

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



More information about the buildroot mailing list