swig: use a relative path for the host swig2.0 symlink's target
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>
This commit is contained in:
parent
b282351c13
commit
f99baf41ab
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user