swig: add swig2.0 -> swig symlink
authorJeremy Rosen <jeremy.rosen@openwide.fr>
Mon, 22 Sep 2014 11:31:08 +0000 (13:31 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 22 Sep 2014 17:27:22 +0000 (19:27 +0200)
commit03ecca90d38448491f106c6555905de0d904fab0
tree65ae2a5bc26b61504d2a94bbf6465d95a3f2f24d
parent47e5ba9dfc756633b5304aac9485103dbcd9662b
swig: add swig2.0 -> swig symlink

The cmake detection script provided with cmake will first look for a
binary called swig2.0 then for a binary called swig.

host-swig only installs a binary called swig, but if the host
distribution has instaled a binary called swig2.0, it will be
preferred over our swig, which isn't great. This patch creates a
symlink swig2.0 -> swig to prevent this from happening.

[Thomas: add comment in the code and improve the commit log]

Signed-off-by: Jérémy Rosen <jeremy.rosen@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/swig/swig.mk