[Buildroot] [git commit branch/next] swig: use a relative path for the host swig2.0 symlink's target

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Nov 16 20:27:15 UTC 2015


commit: http://git.buildroot.net/buildroot/commit/?id=f99baf41ab9fb15cd874c1e90ba7fe0a6eefdcbb
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/next

An absolute path isn't really necessary and breaks relocating

Signed-off-by: Phil Eichinger <phil at zankapfel.net>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 package/swig/swig.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/package/swig/swig.mk b/package/swig/swig.mk
index 3f3ab2f..6b9b8ae 100644
--- a/package/swig/swig.mk
+++ b/package/swig/swig.mk
@@ -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


More information about the buildroot mailing list