package/swig: define SWIG pointing to the host swig program

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>
This commit is contained in:
Samuel Martin 2014-10-05 11:40:06 +02:00 committed by Thomas Petazzoni
parent 4daf09bff1
commit 8e07296cb9

View 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)