package/swig: define SWIG pointing to the host swig program
authorSamuel Martin <s.martin49@gmail.com>
Sun, 5 Oct 2014 09:40:06 +0000 (11:40 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 5 Oct 2014 11:46:22 +0000 (13:46 +0200)
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/swig/swig.mk

index 9996e955909a6970a4ce074dd78645506e6bd5c8..3ef56d63e9d775114f96a2f3c5c957416b642900 100644 (file)
@@ -31,3 +31,5 @@ endef
 HOST_SWIG_POST_INSTALL_HOOKS += HOST_SWIG_INSTALL_SYMLINK
 
 $(eval $(host-autotools-package))
+
+SWIG = $(HOST_DIR)/usr/bin/swig$(SWIG_MAJOR)