swig: use a relative path for the host swig2.0 symlink's target
authorPhil Eichinger <phil.eichinger@gmail.com>
Mon, 16 Nov 2015 10:25:04 +0000 (11:25 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 16 Nov 2015 20:27:15 +0000 (21:27 +0100)
An absolute path isn't really necessary and breaks relocating

Signed-off-by: Phil Eichinger <phil@zankapfel.net>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/swig/swig.mk

index 3f3ab2ff0c62c3abe99d01e2afce5a51ceca7258..6b9b8aebcb28994893720e6fcccc8f458a5bc499 100644 (file)
@@ -25,7 +25,7 @@ SWIG_LICENSE_FILES = LICENSE LICENSE-GPL LICENSE-UNIVERSITIES
 # swig, so that our swig always gets used.
 
 define HOST_SWIG_INSTALL_SYMLINK
-       ln -fs $(HOST_DIR)/usr/bin/swig $(HOST_DIR)/usr/bin/swig$(SWIG_VERSION_MAJOR)
+       ln -fs swig $(HOST_DIR)/usr/bin/swig$(SWIG_VERSION_MAJOR)
 endef
 
 HOST_SWIG_POST_INSTALL_HOOKS += HOST_SWIG_INSTALL_SYMLINK