swig: use a relative path for the host swig2.0 symlink's target
PATCH 1/1 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 <[email protected]>
--- package/swig/swig.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/swig/swig.mk +1 -1
@@ -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
Signature · 1 line
2.1.4
PATCH 1/1 swig: use a relative path for the host swig2.0 symlink's target
Quoted 3 lines · Phil Eichinger
An absolute path isn't really necessary and breaks relocating
Signed-off-by Phil Eichinger <[email protected]>
(untested)
Regards,
Arnout
Quoted 18 lines
--- package/swig/swig.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)package/swig/swig.mk +1
-1@@ -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
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
Thomas Petazzoni
AppliedPATCH 1/1 swig: use a relative path for the host swig2.0 symlink's target
In reply to Phil EichingerDear Phil Eichinger,
Quoted 6 lines · Phil Eichinger
An absolute path isn't really necessary and breaks relocating
Signed-off-by Phil Eichinger <[email protected]>--- package/swig/swig.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to the next branch, thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com